简体   繁体   中英

Java Swing - Make a window like JOptionPane

I've been creating GUIs using Jigloo for a game and I've run into a problem.

  1. I would like one of my GUIs to have some properties that the JOptionPane has but I don't know how to describe it properly.
  2. The JOptionPane , when open, doesn't allow a user to access the other open windows. It gives a ping sound and flash the JOptionPane window .
  3. Is there a name for that? Also can I put that onto one of my GUI windows?

Thanks in advance

The JOptionPane uses a modal dialog. See How to Use Modality in Dialogs for details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM