Lock « JFrame « Java Swing Q&A





1. Java - Lock Aspect Ratio of JFrame    stackoverflow.com

Is it possible to lock the aspect ratio of a JFrame in Java Swing? For example, if my window is 200px by 200px, and the user wants to resize it, I want ...

2. How to lock-down a frame in Java (GUI)    stackoverflow.com

I'm starting a Java project and need a way to completely lock down a frame. By lock down I mean:

  • Users can't close it
  • Users can't drag it
  • Users can't minimize it
  • It lies on ...

3. JFrame locks freezes    coderanch.com

I have a Java application that gets locked out when the user is inactive for certain time. When locked out, I display a JFrame with a button to unlock (the JFrame is set to stay always on top). If the screen saver is activated, and I log in, in some PCs the JFrame is blank and not reponsive and works only ...

4. JFrame locks freezes    coderanch.com

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - ...

5. Locking window in java    java-forums.org

Hi, Is there a way to lock a window in java swing, what i simply mean is i have a small GUI that appears in front of a larger one, and i don't want the user to be able to click anywhere else until they have finished with the smaller GUI. Hope this makes sense. Thanks.

6. Locking Assertion Failure on JFrame?    forums.oracle.com

Locking assertion failure. Backtrace: #0 /usr/lib/libxcb-xlib.so.0 [0xc33767] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xc33831] #2 /usr/lib/libX11.so.6(_XReply+0x244) [0xb54f64] #3 /usr/lib/jdk1.6.0/jre/lib/i386/xawt/libmawt.so [0xad63522e] #4 /usr/lib/jdk1.6.0/jre/lib/i386/xawt/libmawt.so [0xad613ed7] #5 /usr/lib/jdk1.6.0/jre/lib/i386/xawt/libmawt.so [0xad614188] #6 /usr/lib/jdk1.6.0/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xad61448f] #7 [0xb601767e] #8 [0xb600fe9d] #9 [0xb600fe9d] #10 [0xb600d207] #11 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so [0x620967d] #12 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so [0x63057d8] #13 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so [0x6209510] #14 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b) [0x625f38b] #15 /usr/lib/jdk1.6.0/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb802896d] #16 [0xb601767e] #17 [0xb600fd37] #18 [0xb600d207] #19 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so [0x620967d] Locking assertion failure. Backtrace: ...

7. Pause or Stop an Indefinite For Loop - JFrame GUI locks    forums.oracle.com

Hi there, I'm writing a cellular automata scientific application using a JFrame for the main class. The application starts by a simple actionPerformed event on a JButton, but at this stage in the development this simply calls a standard for loop that terminates after 20 iterations of the CA update algorithms. While this loop is active the interface locks and interactivity ...

8. JFrame maxamizing locking    forums.oracle.com