I need to make a simple refresh button for a gui java program I have the button made I just am not sure what the code needs to be to make the button work. Any help would be really appreciated.
jls7168
0
Newbie Poster
Recommended Answers
Jump to PostWell, I guess that would depend on what it's "refreshing" wouldn't it? Start with this tutorial: http://java.sun.com/docs/books/tutorial/uiswing/events/actionlistener.html
Jump to PostSo read that tutorial I linked and write an action listener for your button that does that.
All 6 Replies
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
jls7168
0
Newbie Poster
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
jls7168
0
Newbie Poster
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
jls7168
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.