aspose file tools*
The moose likes Applets and the fly likes tool tip Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "tool tip" Watch "tool tip" New topic
Author

tool tip

Rinky Deshmukh
Greenhorn

Joined: Jun 09, 2004
Posts: 16
friends ,
can anyone tell me how to give a tool tip in a applet.
i'm using JApplets to create the applet.

i have a title idea of javax.swing package
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8971
    
    9

The Java Tutorial: How to use Tool Tips


[How To Ask Questions On JavaRanch]
Shashank Agarwal
Ranch Hand

Joined: May 20, 2004
Posts: 105
You can add tool tip to objects.

Example:
JButton b = new JButton("DEMO");
b.setToolTipText("This is the demo button");

I'm not sure whether u can set the tool tip for an applet.
Try this -
within the init() method, type this

this.setToolTipText("This is an applet");

Tell me if it does.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tool tip