java - Two JFrame (A, B) -
i have 2 jframe
, a
, b
.
a main jframe, b secondary , invoked via button. wish call b, no longer clickable until end of operations b (b must remain above until end).
how should do?
just quick draft:
- add buttons frames , b (for example "done"-button both) , add actionlisteners buttons (to hide current frame , show other frame example and/or process actions made)
- set frame's visibility (in case a) false if should "no longer clickable" (again actionlisteners) , visibility of b true.
- if you're done b click "done" button of b , set visibility of b false , visibility of true.
Comments
Post a Comment