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]

> 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.
~
> 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
~