D2J scroll bar on the form window
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.