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:

  1. 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)
  2. set frame's visibility (in case a) false if should "no longer clickable" (again actionlisteners) , visibility of b true.
  3. if you're done b click "done" button of b , set visibility of b false , visibility of true.

Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -