OOPS. didn't see the typo, *edited*
Type: Posts; User: KILL3RTACO
OOPS. didn't see the typo, *edited*
Is there a println() equivalent for a JTextArea? Or perhaps a method that adds specified text to the current caret location?
Happy Halloween!
I would like to know how to test a value of a property file.... it seems that making a variable equal to properties.getProperty("key") and then testing that sting value (assume...
I have a text editor as part of my program, so, as usual, i made an edit menu as well cut/copy and paste. i set the accelerator of cut to CTRL + x as a test to see if i did it right. I did and I was...
+thanks this helps me alot
Is there a way for a JAR file to read a text file (or any file for that matter) from within itself, no matter what platform? If so, how?
Much thanks. I like how you explain in english. It helps understand what I need to do instead of trying to figure out what the code does so I can replicate it.
+thanks
I have searched for a little while ('cause i find that before my thread is answered sometimes i find the answer either on my own or from Google or something) for how to set the background text for a...
I made a Scanner look into a text file (in the text file anything in it would be formatted: string,string,string....). Then, i made a while loop:
while(scanner.hasNext()){
String a =...
yeah, i know, like mac for instance. right now i'm focused for Windows, then i can try to see about others. the program uses console commands from windows. i would need to learn terminal commands...
wow! +thanks.
how would i split that result to get the extension? (silly question i know)
EDIT: never mind, i figured out a way
this was just the code for getting the names of the files then storing them into an array. Then when the JList is initialized, it'll list the contents of that array.
Looking back at this code, I...
the full file path for each file is stored in an array. the when the JList is initiated... JList name = new JList(Array);
I have a program that lists files in a directory (on a JList). I also gave an option to delete the file the user has selected. However, when the file is deleted, the list doesn't update. How would I...
I have a JList that will list certain files in a directory (may have seen an earlier post, same (JList). It works good, however, it lists the FULL path to the file, that's not what i want, i only...
I have a JList that lists files in a certain directory, i cannot get it to setLocation or setSize.
import java.awt.*;
import java.swing.*;
public class b extends JFrame
...
ok, well i just found out how to make it work. i was rushing it too much and in a view in the wizard to export it there was an option to choose the main class. and i failed to see it. :P
Yes, but in Eclipse (java editor i use) it usually includes/makes it automatically for you, and it wasnt there. is there a way to make the manifest file from scratch? like, make a text document and...
+thanks this seems to work. on another issue, it seems that when i try to export into a JAR file, and select appropriate project, the manifest file isn't there to be included... and when i run the...
I would like to know how to convert a file array to a string array so it can be displayed on a JList.
when exporting, it doesnt show a .manifest to include... i didnt notice that last time.... in situations like this a usually start completely from scratch or close to it... however i end up typing...
Failed to load Main-Class manifest...
in Eclipse theres a green play button called run.
if i put the path to where the file is on my computer, then it wouldnt work if i distribute the program
oops... didnt mean t double post, didnt know there was another page