Questions tagged [jtooltip]

14 questions
5
votes
2 answers

set tooltip text at a particular location

I have my output window as shown here My complete code is: http://codes-at-igit.weebly.com/uploads/1/2/2/7/12272842/travellingsalesmanproblem.java The circles are different G.P.S locations. I want to show the location i.e. , the longitude and…
user1503567
  • 51
  • 1
  • 1
  • 4
2
votes
1 answer

How to set a tooltip for a JMenuItem?

I have a JMenuItem with a icon set for it. I want to add a tool tip only for this icon. I'm not able to find any solution to it. This is what I've implemented so far. JMenuItem mnuItem = new JMenuItem(Aaction a); ImageIconn img = new…
2
votes
1 answer

JToolTip on JPanel mouseMove action

I've trying to create a JToolTip over a JPanel. The idea is, that user move over the JPanel (mouseMove) and behind the cursor will be the tooltip. But I dont know, how to set up tooltip to JPanel. I mean, that I create instance of JToolTip,…
Zis
  • 162
  • 16
1
vote
2 answers

JLabel tooltip is not visible on top of BrowserView

I have this problem: tooltip of the label (JLabel) is hidden by a BrowserView. The tooltip properly shown top of any other java component, but gets hidden by BrowserView. What I want is to make the tooltip visible on top of BrowserView. Anyone knows…
1
vote
1 answer

Creating a custom JButton which surppress CustomTooltip

What I am trying to do there is, when I will create a CButton instance, it will return me a JButton instance which has a customized tooltip and an image layer. My application runs perfectly, without any errors, custom button tooltip works corectly,…
LXSoft
  • 587
  • 5
  • 25
1
vote
2 answers

JToolTip on JTable - Not showing

I am trying to implement a JToolTip on a JTable, however I have run into some issues. I Found the oracle example of how to do it on the following…
user1857900
  • 111
  • 1
  • 2
  • 9
0
votes
1 answer

How to disable execution of HTML on table cell tooltip?

I'm using the PropertyTable from JIDE and I'm having a problem with tooltips when hovering over a table cell. This table uses JTooltip and if I have on one cell a string containing html like this: BOLD When hovering over, the tooltip will…
0
votes
0 answers

JToolTip text with images

I want my JToolTip object to display text with some pictures in it. I use the following construction: JToolTip t = new JToolTip(); t.setTipText("1st text 2nd text"); It works well when file sample.png is located…
Alexander
  • 51
  • 5
0
votes
1 answer

Set tooltip for filterable and editable jComboBox items

I have a JComboBox that is filterable and editable. I would like to set a tooltip for each item in the JComboBox - I figured I should use JToolTip for this. I tried to use the answer from this link: Java Swing: Mouseover text on JComboBox items?.…
user4035259
0
votes
1 answer

How to pop up a text box(or tooltip) via script in Java

I have a very specific question: I want to be able to, via a method call, popup a tooltip with text(it could say anything) in a given location on the screen for a certain amount of time on method call(say the logic is in a talk method) and fades…
0
votes
1 answer

Show all JtoolTipTexts in Java

With JTooltipText, I want to display all the tooltips in my frame by just clicking CTRL+ F1. But the toolips show one at a time. How can I display them all?
0
votes
1 answer

JTable CustomCellRenderer with JCustomTooltip

Riddle me this. Take this simple MyCellRenderer example shown here... class MyCellRenderer extends DefaultTableCellRenderer { public Component getTableCellRendererComponent( JTable table, Object value, …
tmn
  • 11,121
  • 15
  • 56
  • 112
0
votes
2 answers

JTable Tooltip from sql?

I have been bugging with this for 2 days now. I have a JTable that is being generated with SQL from two tables. The thing is I now need to get a Mouseover tooltip to work, with specific information from one of the tables. And its not…
Maawii
  • 21
  • 1
  • 3
0
votes
1 answer

how keep visible ToolTip while mouse is over it?

Is there any way to keep a JToolTip visible while mouse is over the component who owns it, or the tooltip itself?
Ordiel
  • 2,442
  • 3
  • 36
  • 52