• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
D2J scroll bar on the form window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

D2J scroll bar on the form window


  • Subject: D2J scroll bar on the form window
  • From: Paolo Sommaruga <email@hidden>
  • Date: Sun, 25 Jan 2004 13:26:09 +0100

Hi,

sorry, I am new in this list.
In a D2J application I need the form window with vertical scroll bar.
After reading the documentation I have trying to override
generateComponent() in my CustomFormController in the following way


	protected void generateComponent() {

         JPanel component = new JPanel();
		JScrollPane scrollPane =
			new JScrollPane(component, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
		setComponent(scrollPane);
     }

The result is a form with the scroll bar but with inside only some
fields which don't work. What's wrong ?

There is perhaps other way ?

Thanks and Regards


	Paolo Sommaruga
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Restricting number of Entities in Direct to Java Client
  • Next by Date: EOQualifier string date and number support
  • Previous by thread: RE: Restricting number of Entities in Direct to Java Client
  • Next by thread: EOQualifier string date and number support
  • Index(es):
    • Date
    • Thread