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

    Default Help needed for using popup in Java


    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
    Colombo, Sri Lanka
    Blog Entries
    Rep Power


    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 Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power


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


Similar Threads

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