The java-course has started at school, so I'm new to this...
I just wonderd if this code could be shorted, in VB.NET we could use:
JFrame frame = new VB0210();
frame.setTitle ("Oefening 10");
instead of always typing openfiledialog.filter or openfiledialog.index so I wonderd if there was also a method with java for doing this like
.filter "TekstFile *.txt|.txt"
.index = 1
.setTitle ("Oefening 10");
Not in books
I have never seen this short hand notation in any Java books or Java websites. I am also interested if this is possible, but I don't think so. :p