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: 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)
  • Re: setting size of elements
    ... The default layout of Swing root containers is BorderLayout, ... * And there is no such class as a SplitPane. ... Andrew Thompson ...
    (comp.lang.java.gui)