0

I am wondering if it is possible to access the windows explorer in Java. For selecting files to open, or a destination to save something (a picture for example).

2
Contributors
5
Replies
10
Views
6 Years
Discussion Span
Last Post by Ezzaral
0

Thanks. Is there any other cool/important Java components/tricks I should know about?

0

There are a wealth of them. Just look through the other tutorials listed to the left in that one I linked to you. Explore other parts of that site and the API docs as well.

0

Ok. I found a couple interesting ones. Also I am having trouble positioning the text it the top left corner of the screen. this is the part of the code that is causing me grief.

web = new JLabel ("Test Text"); web.setHorizontalTextPosition(JLabel.LEFT); web.setVerticalTextPosition(JLabel.TOP);
		
		JPanel panel = new JPanel (); panel.setAlignmentX(0); panel.setAlignmentY(0);
		panel.add(web);
		JScrollPane result = new JScrollPane(panel);

Thanks

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.