Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

FileDialog: option to select both files AND directories?

843807Sep 21 2010 — edited Sep 23 2010
Hi,

For the sake of Mac users I wish to use FileDialog for file/directory selection. I can use:

System.setProperty(apple.awt.fileDialogForDirectories, true)

in order to be able to select directories, but it only allows directory selection. Not setting it only allows file selection. I wish to be able to select either a file OR a directory, which I haven't found a way to do with FileDialog.

Anyone know how?

thanks, Allasso

Comments

InoL

Q1: You define the logo on application level: Shared Components -> User Interface attributes

pastedImage_0.png

Q2: The navigation bar is meant to be horizontal. You can add a <br /> after the </li> in the template of the Navigation Bar, but it will make the page look really bad, IMHO. E.g. the header of your page will look like this if you make the navigation bar vertical:

pastedImage_1.png

Pranav.shah
Answer

Hello Inol, Thank you for your reply and time.
---------------------------------
Created One Application level Item and Computation.
--------------------------------------------------
Call them in Global Page(create another computation in page 0 with static values - Call it Before Header)
. ---------------------------
Create Table Structure in HTMl format in it with Before Header Optinon Selected.
----------------------------------------
Call Page 0 Computation in Shared Components -> User Interface attributes -> Text -> &logo.
----------------------------------------
you will have Image || text both at same time.

Marked as Answer by Pranav.shah · Sep 27 2020
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 21 2010
Added on Sep 21 2010
5 comments
3,026 views