Input/Output Files

hey everyone, im knew to this website, so please bare with me.

im trying to make an application when ran it will open a finder window and allow me to take that file (which is java code) and compile that file, when its done executing i want to be able to save it as something else.

any hints, tips, or help?

[325 byte] By [n2the8xa] at [2007-11-27 11:05:00]
# 1

> hey everyone, im knew to this website, so please bare

> with me.

> im trying to make an application when ran it will

> open a finder window and allow me to take that file

> (which is java code) and compile that file, when its

> done executing i want to be able to save it as

> something else.

>

> any hints, tips, or help?

1) Learn about Swing.

2) Learn about Java IO.

3) Learn about how to compile Java at runtime.

Assuming, of course, you've already reasonably proficient with Java and OOP basics.

~

yawmarka at 2007-7-29 13:05:39 > top of Java-index,Java Essentials,Java Programming...
# 2

which im not....im sure i can figure out how to compile it, i just dont know the code on how to open a browser window in java

n2the8xa at 2007-7-29 13:05:39 > top of Java-index,Java Essentials,Java Programming...
# 3

> which im not....im sure i can figure out how to

> compile it, i just dont know the code on how to open

> a browser window in java

http://java.sun.com/docs/books/tutorial/uiswing/

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

~

yawmarka at 2007-7-29 13:05:39 > top of Java-index,Java Essentials,Java Programming...
# 4

JFileChooser?

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

hunter9000a at 2007-7-29 13:05:39 > top of Java-index,Java Essentials,Java Programming...
# 5

Xcode

n2the8xa at 2007-7-29 13:05:39 > top of Java-index,Java Essentials,Java Programming...
# 6

> Xcode

Not really pertinent to your question. Read the links.

~

yawmarka at 2007-7-29 13:05:39 > top of Java-index,Java Essentials,Java Programming...