how to use AWT to write button tip? i don't want to use Swing.
Please help me!:)
wujianwei
0
Newbie Poster
Recommended Answers
Jump to PostWhat do you mean when you say button tip? If you want a message appearing when you put the mouse on the button then use this:
JButton button = new JButton("Save");
button.setToolTipText("Click to Save the file");If you want to have the button activated from the keyboard:
JButton …
All 4 Replies
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
wujianwei
0
Newbie Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured 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.