• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ToolTip location issue

 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have an app the runs on a pc with 2 monitors.
The main frame has a JDesktopPane and splits across 2 monitors.

in the desktop pane i got internal frame that has a table.

If the table is on monitor 1, then locaton of tooltip is Ok.
If the table is on monitor 2, then tool tip will alway show up on the side of the first monitor .

I tried to control the location by implementing getToolTipLocation() mehod and
returning new point(10,10) all the time. Again it only works if the table is on monitor 1.


Is there a way to control it? ( sometimes the tool tip will showup on the correct monitor)

Thanks.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic