Re: Best Layout?
- From: IchBin <weconsul@xxxxxxx>
- Date: Mon, 26 Jun 2006 02:41:30 -0400
bcr07548@xxxxxxxxxxxxx wrote:
Hi everyone. I am kind of new to Java in general, much less Swing, but
I am working on a project where I want to create somewhat of a flow
chart with draggable boxes and lines connecting them. I plan on
representing each box in the "flow chart" with a JPanel. Keeping in
mind that I will need to draw lines between panels, what would be the
best layout to use? What I am looking for is a layout where I can say
"put panel A at location (X,Y)" but Sun's explanation of layouts didn't
seem to explain anything like that. If anyone has any input, I would
appreciate it.
-Brandon
You may want to look at these examples in the Sun JDK sample Demo Applets subdirectories. They maybe a little to hard being you are new to java.
...\jdk1.5.0_07\demo\applets\DrawTest (example1)
...\jdk1.5.0_07\demo\applets\GraphLayout (example1 to example4)
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
.
- Follow-Ups:
- Re: Best Layout?
- From: bcr07548
- Re: Best Layout?
- References:
- Best Layout?
- From: bcr07548
- Best Layout?
- Prev by Date: Best Layout?
- Next by Date: Trouble in Jformattedtextfield
- Previous by thread: Best Layout?
- Next by thread: Re: Best Layout?
- Index(es):
Relevant Pages
|