How to merge JOptionPane and Frame into one
Posted
by mike_hornbeck
on Stack Overflow
See other posts from Stack Overflow
or by mike_hornbeck
Published on 2010-05-30T17:36:19Z
Indexed on
2010/05/30
17:42 UTC
Read the original article
Hit count: 225
Hello. Currently I have a very basic file viewer working as follows :
- in JOptionPane I browse for files, and set some variables to display (colors, line connecting etc)
- previous windows loads a frame with drawn points
Code :
http://paste.pocoo.org/show/220066/
Now I'd like to throw it into one window, with JMenu for selecting files and changing display parameters. How to get started ? Should I rewrite everything to JDialog ?
© Stack Overflow or respective owner