-
Tool Bar popups on mouse hover
I'm trying to have some identifying text popup when a user hovers the mouse over a toolbar button or similar - kind of like alt text on the IE browser.
I'm looking at ToolTipUI and MouseMotionListener, but don't seem to be getting anywhere fast - cna anyone tell me if I'm on the righ track?
Thanks.
-
For example, any Swing component can use the JComponent setToolTipText method to specify the text for a standard tooltip
Directly from the JToolTip API.
myButton.setToolTip("this is my button");
myToolBar.add(myButton);
-
<slaps forehead>
Thanks Phaelax - being new to this I'm still getting used to working out what things are called and what to look for in the api - thanks again
Similar Threads
-
By Actipro Software in forum dotnet.announcements
Replies: 0
Last Post: 08-25-2002, 11:11 PM
-
By Chris Eastwood in forum VB Classic
Replies: 4
Last Post: 03-28-2002, 01:26 PM
-
By Eugene in forum VB Classic
Replies: 4
Last Post: 12-19-2000, 12:52 PM
-
By Eugene in forum VB Classic
Replies: 0
Last Post: 12-19-2000, 11:13 AM
-
By Nilesh Kulkarni in forum Web
Replies: 1
Last Post: 03-28-2000, 02:27 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks