Re: open another jframe
- From: Akki <lodhaakhil85@xxxxxxxxx>
- Date: Fri, 25 Jan 2008 00:45:55 -0800 (PST)
On Jan 24, 11:48 pm, Knute Johnson <nos...@xxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Akki wrote:
Hi,
How do I open another JFrame from one JFrame ?
The first JFrame is a command prompt. Where I want to write draw f(x).
Then I want to open another JFrame inwhich I show the plot of f(x).
TIA,
Darth
You create a new JFrame object with the new operator and then you call
the setVisible() method on that object with an argument of true.
--
Knute Johnson
email s/nospam/knute/
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDem
Thanks ! I it worked. But now when I close the second JFrame window,
the first one closes too.
How do I decouple them ?
.
- Follow-Ups:
- Re: open another jframe
- From: RedGrittyBrick
- Re: open another jframe
- References:
- open another jframe
- From: Akki
- Re: open another jframe
- From: Knute Johnson
- open another jframe
- Prev by Date: Re: Setting uniform width of a table
- Next by Date: Sigaretten kopen !!
- Previous by thread: Re: open another jframe
- Next by thread: Re: open another jframe
- Index(es):
Relevant Pages
|
|