Results 1 to 3 of 3
  1. #1
    uhdam is offline Member
    Join Date
    Mar 2009
    Posts
    6
    Rep Power
    0

    Default Help needed for using popup in Java

    Hai...

    I need to have image as tooltip. Is it possible. If yes how. I dont want to use applet. When i scroll over the label in my frame the pop up containing the image should be displayed. How can this be done.

    And how can multi line tool tip texts be given. I use Netbeans IDE. If i enter the text in the Column "ToolTip Text" only the text is displayed. So how do i use a multi line tool tip.

    Reply needed Urgently. Thank you.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Did you try to workaround with mouse events on JFrame? Use MouseListener on JFrame. On the listener event try to open a JFrame with an image.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,235
    Rep Power
    19

    Default

    Override createToolTip and return a custom subclass of JToolTip. And what does using or not using Applet have to do with the question anyways?

    db

Similar Threads

  1. Java Popup Window & Url Query String Value
    By Rivelyn in forum New To Java
    Replies: 4
    Last Post: 01-20-2011, 05:03 AM
  2. java.swing.popup not hiding
    By pinks_70986 in forum AWT / Swing
    Replies: 1
    Last Post: 02-11-2009, 08:35 PM
  3. how we get popup window in java
    By baserohit in forum Advanced Java
    Replies: 1
    Last Post: 03-22-2008, 04:39 AM
  4. Java experts needed- 30 minute online Java projects
    By michelle in forum Jobs Offered
    Replies: 0
    Last Post: 03-05-2008, 11:47 PM
  5. Popup in Java
    By fernando in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 06:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •