This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Make a button in java swing  RSS feed

 
Agrata shukla
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I made two buttons in java swing

1.enabled
2.disabled

both are of green color

Enabled-disabled button

Now ,I want you to describe the tips, what according to you should add in it , for better knowledge and better programming.

 
Les Morgan
Rancher
Posts: 768
19
C++ Java MySQL Database Netbeans IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A listener would be highly appropriate.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!