470,870 Members | 1,398 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,870 developers. It's quick & easy.

Creating a visual component

I need to develop a graphical component that should come in two
flavors: a static one (that could be exported to a image and viewed in
a browser, for example) and a dynamic one, which could be displayed in
a desktop application and edited through clicking and drag-and-drop
operations. Both would have the same set of properties and be visually
identical, but I want the static version to stand by itself when
necessary.

What´s the best way of accomplishing this? And for the dinamic
version, would you recommend start it by subclassing JComponent
directly, or JPanel, or what?

Thanks in advace!
Marx
Jul 17 '05 #1
1 1437
"Schisto" <ce*******@linden.com.br> wrote in message
news:b9**************************@posting.google.c om...
I need to develop a graphical component that should come in two
flavors: a static one (that could be exported to a image and viewed in
a browser, for example) and a dynamic one, which could be displayed in
a desktop application and edited through clicking and drag-and-drop
operations. Both would have the same set of properties and be visually
identical, but I want the static version to stand by itself when
necessary.


What does "stand by itself" mean? Would a Swing component with a
setStatic(boolean) method work?

--
David Hilsee
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Edward Diener | last post: by
19 posts views Thread by Steve | last post: by
9 posts views Thread by Relaxin | last post: by
15 posts views Thread by Carlos Lozano | last post: by
6 posts views Thread by ryan.d.rembaum | last post: by
1 post views Thread by Gerhard | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.