Jtextpane not updating real time tall dating websites

Rated 3.82/5 based on 553 customer reviews

cmd=Array Of Commands Which Work Properly Runtime run = Runtime() ; pr = run.exec( cmd ); Buffered Reader buf = new Buffered Reader( new Input Stream Reader(Input Stream() ) ) ; while ( (c=br.read()) It seems that there must be an acellerator in the way or something... It seems that the j Text Area is just accumulating and not updating until the process is complete. However, the interface MUST be blocked as the code is flashing firmware onto a device.The problem is that it does not update until the entire processs is complete. I guess I should disable all controls, begin a new thread, then have the thread report back to reenable them upon completion?

jtextpane not updating real time-23

CENTER); //Sets the size of our applet my Preferred Size(new Dimension(800, 600)); // Sets the frame visible, ...

I don't totally understand what is going on with your program, but it appears that you have not separated into separate threads those parts of the code that are in conflict for CPU time, It's not an easy topic to understand, it may require some research of the basic concepts of multithreading for you to appreciate what I am saying.

Anyways, I am not an expert in threads, maybe someone else can describe it better.1) The first step is to create and display the Jframe. 2) Once that is done you create a Thread (Swing Worker) to login to the database.

Once you have done that give an effort to fixing the problem in the simple situation, that will give you the idea how to solve the problem in your console simulator program.

It will also be easier for us to help you with the prototype than with your console program. OK Rob has a similar idea, he snuck in ahead of me.

Leave a Reply