Grupuri Google nu mai acceptă postările sau abonamentele noi Usenet. Conținutul anterior este în continuare vizibil.

draw diagram in Swing

5 afișări
Accesați primul mesaj necitit

Randy Heiland

necitită,
22 mar. 2002, 13:21:0922.03.2002
I'd like to be able to draw a diagram (nodes connected by arrows) where
my nodes are JInternalFrames. Essentially, draw a dataflow diagram.

Suggestions?

thanks, (and pls cc me directly)
--Randy hei...@ncsa.uiuc.edu

Paul Lutus

necitită,
22 mar. 2002, 23:45:2322.03.2002
Randy Heiland wrote:

> I'd like to be able to draw a diagram (nodes connected by arrows) where
> my nodes are JInternalFrames. Essentially, draw a dataflow diagram.
>
> Suggestions?
>

Post your code and ask for help? It will be easier to help you when we see
what you have done so far.

BTW JinternalFrames might be overkill for this task. How much information,
and in what form, does the node need to display? If it is a small amount of
text, why not use a JTextAtea in a JScrollPane, using your own custom
layout manager on a JPanel container?

--
Paul Lutus
www.arachnoid.com

Mr. Cube

necitită,
24 mar. 2002, 04:50:2224.03.2002

Randy Heiland wrote:

> I'd like to be able to draw a diagram (nodes connected by arrows) where
> my nodes are JInternalFrames. Essentially, draw a dataflow diagram.
>
> Suggestions?

Yes.

Take a look at
- JGraph (http://jgraph.sourceforge.net/)
- JHotDraw (http://jhotdraw.sourceforge.net/)

I myself are using JHotDraw.

Kees.

0 mesaje noi