No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Okai so I have a jfilechooser : JFileChooser chooser = new JFileChooser(); int returnName = chooser.showOpenDialog(null); if (returnName == JFileChooser.APPROVE_OPTION) { f = chooser.getSelectedFile(); if (f != null) { // Make sure the user didn't choose a directory. path = f.getAbsolutePath();//get the absolute path to selected file //below line to … | |
Lets say that i have a .txt file with the following text: " Hellow lol lololo hahahahahhahaha hyryryryryryryr " I want to add all that to the clipbourd so that I can paste it on an other application. Can someone help. I know how to add string to a clipbourd … | |
String line = null; double value; BufferedReader in = new BufferedReader(new FileReader("C:\\Users\\Bilal\\Documents\\Work\\scrambler\\input.txt")); int x=0; while (line != "end"){ line = in.readLine(); System.out.println(line); x++; } }} When I run this.. the loop does not stop when the word end comes.. why??????? | |
When I export the program to a executive Jar, file.txt does not import. The file.txt is in my src folder. Everything works file when i run the program in eclipse but when i export it, it does not import. HELP, I am new to Java and everything. |
The End.