JFileChooser problem

Hello I am trying to add some action listener to the Open Button which is part of the JFileChooser. How can I access this button from the JFileChooser object?Thanks!
[179 byte] By [codingGa] at [2007-11-27 5:54:04]
# 1
Have a look at the getComponents() method.~
yawmarka at 2007-7-12 15:48:07 > top of Java-index,Java Essentials,New To Java...
# 2
Thanks but how can I know at whoch possition of the container I can find the Open button and how can I fetch it?
codingGa at 2007-7-12 15:48:07 > top of Java-index,Java Essentials,New To Java...
# 3

> Thanks but how can I know at whoch possition of the

> container I can find the Open button and how can I

> fetch it?

Please try first. Ask questions once you've attempted something. Think about the problem for a moment. Look at the API. Think about how you would identify an object. As a Swing developer, you should be able to figure this out.

~

yawmarka at 2007-7-12 15:48:07 > top of Java-index,Java Essentials,New To Java...
# 4

> Hello I am trying to add some action listener to the

> Open Button which is part of the JFileChooser. How

> can I access this button from the JFileChooser

> object?

> Thanks!

http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html

filestreama at 2007-7-12 15:48:07 > top of Java-index,Java Essentials,New To Java...