Made XML Sandbox non-modal, using a glass pane
This commit is contained in:
parent
376299dddd
commit
c88ecf0bc8
4 changed files with 137 additions and 16 deletions
16
src/main/java/net/vhati/modmanager/ui/Nerfable.java
Normal file
16
src/main/java/net/vhati/modmanager/ui/Nerfable.java
Normal file
|
@ -0,0 +1,16 @@
|
|||
package net.vhati.modmanager.ui;
|
||||
|
||||
|
||||
/*
|
||||
* An interface to en/disable user interaction.
|
||||
* It was written with JFrames and glass panes in mind.
|
||||
*/
|
||||
public interface Nerfable {
|
||||
|
||||
/*
|
||||
* Either nerf or restore user interaction.
|
||||
*
|
||||
* @param b the nerfed state
|
||||
*/
|
||||
public void setNerfed( boolean b );
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue