Guest User

Untitled

a guest
Jan 23rd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public void setMaximum(boolean b) throws PropertyVetoException
  2. {
  3. Exception exception = new Exception();
  4. StackTraceElement[] e = exception.getStackTrace();
  5. if(e[1].getClassName().equals("com.sun.java.swing.plaf.windows.WindowsDesktopManager"))
  6. return;
  7. super.setMaximum(b);
  8. }
Add Comment
Please, Sign In to add comment