• 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

Weird WinXP problem with JFileChooser

 
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is weird. I have tested my FBN app on WinME and WinXP.
I use JFileChooser to let the user select the database. In WinME, the JFileChooser dialog is modal and stays on top of the client GUI, but when I run the app on WinXP, the JFileChooser dialog pops up under the client GUI, so you never know to go ahead and select the database because you never see it.
I've looked through the API for JFileChooser and can't find anything about setting the modality.
Any ideas or is this just another undocumented feature (sic) from Microsoft?
 
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jim,
My guess is that the native code has not been changed for XP and that XP has changed some of the windowing components. I know that when we moved from NT4 to 2K Pro, I had to rewrite a bunch of C++ code for just such issues.
Michael Morris
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I too am developing on XP and using a JFileChooser to allow database file selection. So far, I've had no problems with my FBN project, but have noticed on several occasions that XP gets confused on Z-order sometimes. Interestingly, I've so far not yet had this problem with any of my Java apps. I never experienced this problem on NT or Win2K.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic