Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sharadkharya

macrumors newbie
Original poster
My Swing application UI consists of top, central & bottom frame.

Central frame is displaying data dynamically from database in table format (Initially it is displaying list of folders and these folders containing the files.)

Bottom frame consist of open & cancel button.

Ideally as per application requirement:-
Case 1 - If i select any folder and click on open button, then it should display the list of files that folder contains.
Case 2 - If I select any file and click on open button then that file should be open on Adobe illustrator.

I am developing this application for windows & MAC

Case 1 & 2 are working fine on windows but on MAC case 1 is failing.
I have to double click on selected folder to navigate inside.


Please let me know the reason and possible solution to resolve this issue.


Thanks in advance
Sharad
 
My Swing application UI consists of top, central & bottom frame.

Central frame is displaying data dynamically from database in table format (Initially it is displaying list of folders and these folders containing the files.)

Bottom frame consist of open & cancel button.

Ideally as per application requirement:-
Case 1 - If i select any folder and click on open button, then it should display the list of files that folder contains.
Case 2 - If I select any file and click on open button then that file should be open on Adobe illustrator.

I am developing this application for windows & MAC

Case 1 & 2 are working fine on windows but on MAC case 1 is failing.
I have to double click on selected folder to navigate inside.


Please let me know the reason and possible solution to resolve this issue.


Thanks in advance
Sharad
Are you using a custom dialog for this purpose? If you are, make sure your event handler code is intercepting the click on the folder icon as intended. If you're using a standard Open dialog, I'm not sure why it's not acting right.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.