Best Layout?
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
.
Relevant Pages
- Re: Best Layout?
... Is there really no layout that allows you to position a component using ... representing each box in the "flow chart" with a JPanel. ... mind that I will need to draw lines between panels, ... (comp.lang.java.gui) - Re: GUI best practices question
... but the number of containers (panels, frames...) and layout managers. ... (comp.lang.java.help) - Re: ASP.NET newbie - how to align panels horizontally
... but there is an additional setting for the hacks line) - the * in front of the display is important as all browsers except for IE7 ignore it. ... Border should be set to 0 for the finished product, I am displaying as dashed to see how my browsers render the panels. ... The only thing this is missing is a nice "flex" attribute to grow selected hpanels and make the layout even more fluid. ... (microsoft.public.dotnet.framework.aspnet) - Re: setting size of elements
... Adding the component to a layout that respects the component's preferred size. ... Have you done the layout tutorial and Swing tutorials mentioned in the GUI FAQ? ... do my applet in swing b/c I need a SplitPane, which you can't do in AWT... ... "Each program that uses Swing components has at least one top-level container. ... (comp.lang.java.gui) - Re: Recommend a good web GUI layout and design book?
... > programming and layout, but want's to move to the web? ... Well, it doesn't have to therefore be a book using Swing exactly, ... philosophy/psychology of user interface designs. ... layout or interaction metephore without 1) ruling out the existing ... (comp.lang.java.gui) |
|