The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

This topic is READ ONLY
import-bot (20211) [Avatar] Offline
#1
[Originally posted by pramodhc9]


How to put in action the listViewIcon and the detailsViewIcon available in the
JFileChooser swing component?
Is there any other way to get file listing with a horizontal scroll bar? If we
can't use these icons to get their purposes, is there any way to hide these
icons?

Why there is no JFileChooser provided in the swing component menubar in Oracle
JDeveloper?
import-bot (20211) [Avatar] Offline
#2
Re: JFileChoose listView and detailsView Icons
[Originally posted by matt]

>
> How to put in action the listViewIcon and the detailsViewIcon available in the
> JFileChooser swing component?

You'll have to search through JFileChooser's container heirarchy
to find these buttons and attach listeners...
To get an idea how to do this, see the last example in chapter 14
here: http://www.spindoczine.com/sbe

> Is there any other way to get file listing with a horizontal scroll bar? If we
> can't use these icons to get their purposes, is there any way to hide these
> icons?

The Swing API does not provide you with any way to access or control
these buttons (see above).

> Why there is no JFileChooser provided in the swing component menubar in Oracle
> JDeveloper?

This forum is about Swing in general, we don't support questions about
specific products (in other words, I don't know anything about Oracle
JDeveloper).