Results 1 to 5 of 5
Thread: Layer customizing
- 04-22-2012, 11:35 PM #1
Member
- Join Date
- Apr 2012
- Posts
- 41
- Rep Power
- 0
- 04-23-2012, 05:48 AM #2
Senior Member
- Join Date
- Jun 2007
- Location
- Bali, Indonesia
- Posts
- 696
- Rep Power
- 6
Re: Layer customizing
What do you mean by "how to move those buttons anywhere inside the tabs?" Do you want the users to be able to move those buttons? Or do you want to use another layout manager for your GUI so you can control where you want to place those buttons?
Website: Learn Java by Examples
- 04-23-2012, 08:28 PM #3
Member
- Join Date
- Apr 2012
- Posts
- 41
- Rep Power
- 0
Re: Layer customizing
I want to custom design but I want to have full control with positioning the buttons. I tried with few layouts but it does not give me full control. My goal is to read the x, y position from a text file and then place buttons or images according to that. Can you help me with that please?
- 04-24-2012, 03:56 AM #4
Senior Member
- Join Date
- Jun 2007
- Location
- Bali, Indonesia
- Posts
- 696
- Rep Power
- 6
Re: Layer customizing
You can do it with something call as absolute positioning in swing application. Take a look at the following documentation Doing Without a Layout Manager (Absolute Positioning) (The Java™ Tutorials > Creating a GUI With JFC/Swing > Laying Out Components Within a Container)
Website: Learn Java by Examples
- 04-24-2012, 05:02 AM #5
Re: Layer customizing
Absolute positioning is almost always a bad choice, unless this is a toy program and will run on only on the computer it's built on.
Java has a variety of layout managers, and layouts can be nested to get just about any positioning you want.
Lesson: Laying Out Components Within a Container (The Java™ Tutorials > Creating a GUI With JFC/Swing)
dbWhy do they call it rush hour when nothing moves? - Robin Williams
Similar Threads
-
Geomajas WMS layer 1.9.0
By java software in forum Java SoftwareReplies: 0Last Post: 02-05-2012, 06:21 PM -
Geomajas Hibernate layer 1.9.0
By java software in forum Java SoftwareReplies: 0Last Post: 02-05-2012, 06:18 PM -
Geomajas GeoTools layer 1.9.0
By java software in forum Java SoftwareReplies: 0Last Post: 02-05-2012, 06:16 PM -
Transparent layer
By disabled in forum SWT / JFaceReplies: 0Last Post: 03-20-2010, 04:04 PM -
Creating layer on images ?
By Qmalq in forum AWT / SwingReplies: 2Last Post: 01-27-2009, 10:20 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks