Results 1 to 2 of 2
Thread: problems with layouts !
- 12-14-2010, 08:09 AM #1
Member
- Join Date
- Dec 2010
- Posts
- 38
- Rep Power
- 0
- 12-15-2010, 01:23 AM #2
Senior Member
- Join Date
- Apr 2010
- Location
- Philippines
- Posts
- 580
- Rep Power
- 4
I am using netbeans too, and I am a begginer here. In netbeans by default JPanel, JFrames etc uses "Free Design" layout. Free Design Layouts is a sample of GroupLayout manager, at runtime when window is resized or something components inside it will REARRANGE.
You can change layout manager that JPanel or JFrame is using.
At Design time
* Click the component you want to change > Right click > Set Layout > choose the layout manager you want to use.
OR
At Code
see the java site's tutorial Lesson: Laying Out Components Within a Container (The Java™ Tutorials > Creating a GUI With JFC/Swing)
Similar Threads
-
RMI Problems
By michaeln31 in forum New To JavaReplies: 4Last Post: 10-23-2010, 12:52 PM -
problems with Jxl
By Harpreet1111 in forum New To JavaReplies: 1Last Post: 07-07-2010, 07:27 PM -
Can you have multiple layouts using swing?
By fresh83 in forum New To JavaReplies: 2Last Post: 12-27-2009, 09:38 PM -
Gui problems
By bulldog in forum Advanced JavaReplies: 1Last Post: 12-11-2009, 12:35 PM -
Layouts ?
By plodos in forum EclipseReplies: 3Last Post: 07-30-2007, 03:03 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks