This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Swing Program gets freezed

 
varun nurav
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
line 42 of your code is wrong.
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic