[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 461
  • Last Modified:

JComboBox won't stay open in java 1.3 enviroment

There's no listener attached to the JCombo. It just flickers and you'll have to use arrow keys to navigate it. It seems this only happens in java 1.3, when I install 1.4 it's working. Has this happened to anyone else? The source is compiled with 1.4.1 with "-target 1.3" option.

/vs
0
verzus
Asked:
verzus
  • 2
  • 2
  • 2
1 Solution
 
antonsigurCommented:
No, have never seen this, but have you tried to compile it with 1.3 compiler? (If you need to run it on 1.3 envirnoment) mabe there are some changes in the combobox between 1.3 and 1.4 that the "-target 1.3" doesn't include...
0
 
verzusAuthor Commented:
Ok, i'll try that. The -target option seems to work poorly. I've tried compile like swing code with much too old version without getting any warning or error message...
0
 
antonsigurCommented:
Yes, I think that's the problem...
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
verzusAuthor Commented:
I'm sorry I've taken so long. This was not the problem, I tried compiling with 1.2.2 and the same thing happens in java hotspot 1.3.1 enviroment.
Something else happened which might be related. ToolTips doesn't work either. Simple ones like:

button.setToolTipText("whatever");

works like a charm in 1.4, but arises exception in 1.3.1. Instead of the popup text I get:

java.lang.error: destination component not connected to tree...

SwingUtilities.convertPoint
convertParentLocationToScreen...

I gather it is not the tooltips themself thar causes the problem, but something in the structure of components. I have nested alot of panels...

Any suggestions?

/vs
0
 
SpideyModCommented:
A request for a refund has been made.  Experts you have 72 hours to object.

SpideyMod
Community Support Moderator @Experts Exchange
0
 
SpideyModCommented:
PAQ'd and all 150 points refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now