Results 1 to 4 of 4
- 03-11-2012, 07:16 PM #1
Member
- Join Date
- Mar 2012
- Posts
- 3
- Rep Power
- 0
Remove setting for bounds for the pane and jscrollpane
Hi,
In my application I have a JPanel, inside a JScrollPane. The layout of the panel is set to null. I am using netbeans for my GUI development. Netbeans is adding the panel.setBounds and scrollPane.setBounds method in the code, I don't want set this property. Since the panel is the container for all other controls, by not setting the panel and scrollpane size and location property, it should automatically align itself to the frame. How can i remove this call from the code. It is part of the auto generated code and this is messing up with the desired behaviour.
I would appreciate your help on this.
Thanks
-
Re: Remove setting for bounds for the pane and jscrollpane
It is for these and many more reasons, I avoid using code-generation software. Sorry, had to say that.
- 03-11-2012, 11:28 PM #3
Member
- Join Date
- Mar 2012
- Posts
- 3
- Rep Power
- 0
-
Re: Remove setting for bounds for the pane and jscrollpane
Similar Threads
-
Controls on a tabbed pane
By taman in forum New To JavaReplies: 2Last Post: 03-03-2012, 01:52 AM -
Tabbed pane
By sonal12 in forum AWT / SwingReplies: 13Last Post: 09-15-2010, 12:22 AM -
tabbed Pane .
By programmer_007 in forum AWT / SwingReplies: 2Last Post: 09-03-2009, 08:52 PM -
i want to remove JScrollPane from panel
By ravrajesh.ap in forum AWT / SwingReplies: 1Last Post: 01-03-2009, 04:49 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks