Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void setMaximum(boolean b) throws PropertyVetoException
- {
- Exception exception = new Exception();
- StackTraceElement[] e = exception.getStackTrace();
- if(e[1].getClassName().equals("com.sun.java.swing.plaf.windows.WindowsDesktopManager"))
- return;
- super.setMaximum(b);
- }
Add Comment
Please, Sign In to add comment