wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Swing Program gets freezed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Swing Program gets freezed" Watch "Swing Program gets freezed" New topic
Author

Swing Program gets freezed

varun nurav
Greenhorn

Joined: Jul 23, 2011
Posts: 4
hello
i m developing a simple project in which there are many gui modules, i came across a problem when i tried to access a another window from one, the JButtons on another window are working but JComboBox freezed....i m unable to understand what actually happened, there is no error in program and its just a simple actionlistener and itemlistener events...please help...
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
line 42 of your code is wrong.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10489
    
    9

Michael Dunn wrote:line 42 of your code is wrong.

What Michael means is that TellTheDetails There is not much help we can offer otherwise.
Most probably, it is a threading issue Recommended reading http://docs.oracle.com/javase/tutorial/uiswing/concurrency/
 
Consider Paul's rocket mass heater.
 
subject: Swing Program gets freezed