Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help - Resetting a JFrame  RSS feed

 
curtis ashby
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Wondering if someone can help me here.
I have a little link program that stores the data for the links in a file and i have built a preference panel that allows you to edit the data how ever i would like to make it so you can edit the data and effect the changes into the current running instance. My thoughts where if i put the JFrame invocation into its on class that implements runnable I could some how start a new thread after i have written to the data file.

Well I'm not having much luck with this. So far I have a class for the ApplicationThread:

And here is the code to edit the data:


Im stuck, can anyone help? You may need more information as i'm omitting quite a bit of code here.

Thanks,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!