• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weird WinXP problem with JFileChooser

 
Jim Bedenbaugh
Ranch Hand
Posts: 171
  • 0
  • Mark post as helpful
  • send pies
  • 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?
 
Michael Morris
Ranch Hand
Posts: 3451
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Kurt Blackmore
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic