Freeze « Development « Java Swing Q&A





1. java GUI freezing because of insertString method?    stackoverflow.com

Have you ever heard about a GUI freezing because of repeated calls to the method javax.swing.Document.insertString ?? There is my code:

private int insertNotation(GameNode startNode, StyledDocument doc, int pos) {

    ...

2. Why my Swing based GUI application is not responding?    stackoverflow.com

I am trying to create my first GUI application using (Java + Eclipse + Swing). This is my code:

import java.awt.*;
import javax.swing.*;


public class HelloWorldSwing extends JFrame {

      ...

3. Netbeans GUI builder freezes since upgrade to 6.9    forums.netbeans.org

Hello! Since I've upgraded my IDE to Netbeans 6.9.1 (all updates applied) the GUI Builder sometimes freezes when I try to open a form in design view (this happens at least once in two days). I've never encountered those errors with Netbeans 6.8. When the problem occurs I've to kill Netbeans via the task manager. If I restart Netbeans and retry ...

4. Swing Application freezes with Java Mail    coderanch.com

Hi I shouldnt be asking this question here but since its also got to do Swing, I am posting it here too. I have developed a JavaMail Client program. On retrieving new mail the GUI interface freezes. Is there a way to prevent this? If the possible solution is using Threads, then please guide me.

5. GUI Freezing/locking up....    coderanch.com

I've been working on a what is becoming an ever more and more complex desktop app using swing (something on par with an extremely paired down IDE). And the application is begining to lockup/freeze and I can't really point to any piece of code that is doing it. No exceptions are being thrown, it doesn't seem to rely on any particular ...

6. RCP freezes for a while    coderanch.com

I am running a new thread in the fillstatusLine to get data from an external lib. Even though I am using a separate thread , RCP freezes up for a few seconds and then starts working normally. Is there a way to totally run the thread in the background so that the RCP does not freeze at all . I also ...

7. I have problem with GUI which freeze while I run a long task    coderanch.com

int start=1,stop=10000; boolean work=true; public class showNormal extends Thread { public void run() { int tb; for(tb=start;tb<=stop && work==true;tb++) { try { Graphics g = showZone.getGraphics(); Graphics2D g2D = (Graphics2D) g; tb = tb%100 +1; num.setText("Image : "+tb); File file = new File("C:\\original\\Store\\image_" + tb + ".jpg"); BufferedImage buf = ImageIO.read(file); g2D.drawImage(buf,0, 0,showZone); } catch (IOException ex) { Logger.getLogger(ShowPic.class.getName()).log(Level.SEVERE, null, ex); ...

8. Game of life implementation - facing swing freezing problems [solved]    coderanch.com

I'm in need of help again and back to Javaranch ("forgotten password" doesn't seem to work:/), so hello all, again! I'm implementing Conway's Game of life, in java. It works, and I'm at the stage of trying to make a simple interface to allow control of the speed, grid size etc. The first control that I created is the start/stop button ...

9. Swing appears to Freeze    coderanch.com

Hi there everyone! I'm writing a gui for a program i wrote for an assignment at uni. The problem i am having is that when i compile and run it from. Sometimes it works perfectly and other times it appears to freeze (None of the buttons are working). But as soon as a minimize and maximize it or drag it to ...





11. GUI Freezing (but im using- doInBackground() )??    forums.oracle.com

I mean, comment out the code that calls/does the process. I think what you are saying is that another shorter running process does not hang it. If you comment this one out and eliminate the hang then you have narrowed it down. It sounds like you might now be passed this though. Point being that you can get away with very ...

12. GUI Freezes    forums.oracle.com

13. Java GUI freezes in Debian/Sarge    forums.oracle.com

Hi, I am running a Debian/Sarge #uname -a Linux jukebox 2.6.14.2 #5 PREEMPT Mon Nov 28 20:28:54 CET 2005 i686 GNU/Linux I have a java casino game created by jdk (1.6.0_02) netbeans(5..5.1) . If I run it in development machine (windows) it runs okay. It also runs okay in (fedora) But I got problme when I run it in the Debian. ...

14. gui freezes after pressing execute    forums.oracle.com

hi thanks alot.... the var object's go method makes a thread pool to do the task in it. It a task So while having a thread pool to that method is it ok to assign the var object's go method to a another thread it self. ? Why not? The worst you could do is try it out and it doesn't ...

15. Swing Freeze    forums.oracle.com

I have developed a free software under the MS Flight Simulator (FS). It runs during the flight and records information about that. It will work fine as you can see on these pictures below: http://members.chello.hu/havasi.balazs/normal.JPG This is when i want to close the application (works normally): http://members.chello.hu/havasi.balazs/normalexit.JPG Of course sometimes it is necessary to switch from FS to that logger with ...

16. GUI freeze problem    forums.oracle.com

Ok with the stack printed now i know that the problem is that the socket is not closing correctly, this is the exception caughted: java.net.BindException: Address already in use. i have to close the socket, so i have to say that when the close button is pressed the socket has to close?,