Search:

Type: Posts; User: KILL3RTACO

Page 1 of 2 1 2

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    1,849

    [SOLVED] Re: println() for JTextArea

    OOPS. didn't see the typo, *edited*
  2. Replies
    4
    Views
    1,849

    [SOLVED] println() for JTextArea

    Is there a println() equivalent for a JTextArea? Or perhaps a method that adds specified text to the current caret location?
  3. Replies
    1
    Views
    1,367

    How to test value in a property file?

    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...
  4. lengthen distance between JMenuItem title and shortcut(accelerator)

    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...
  5. [SOLVED] Re: Jar file to read text file from within itself

    +thanks this helps me alot
  6. [SOLVED] Jar file to read text file from within itself

    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?
  7. Replies
    2
    Views
    1,283

    Re: Simple Question (hopefully)

    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
  8. Replies
    2
    Views
    1,283

    Simple Question (hopefully)

    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...
  9. Cant set an array value equal to another array value?

    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 =...
  10. Replies
    6
    Views
    4,097

    Re: Listing file names in a JList

    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...
  11. Replies
    6
    Views
    4,097

    Re: Listing file names in a JList

    wow! +thanks.

    how would i split that result to get the extension? (silly question i know)

    EDIT: never mind, i figured out a way
  12. Replies
    6
    Views
    4,097

    Re: Listing file names in a JList

    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...
  13. Replies
    3
    Views
    2,006

    Re: Updating JList

    the full file path for each file is stored in an array. the when the JList is initiated... JList name = new JList(Array);
  14. Replies
    3
    Views
    2,006

    Updating JList

    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...
  15. Replies
    6
    Views
    4,097

    Listing file names in a JList

    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...
  16. Replies
    2
    Views
    2,318

    [SOLVED] Positioning/Resizing JList Help

    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

    ...
  17. Replies
    7
    Views
    1,696

    Re: Background Command Line Processes

    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
  18. Replies
    7
    Views
    1,696

    Re: Background Command Line Processes

    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...
  19. Replies
    7
    Views
    1,696

    Re: Background Command Line Processes

    +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...
  20. Replies
    7
    Views
    1,696

    File array to String array?

    I would like to know how to convert a file array to a string array so it can be displayed on a JList.
  21. Replies
    21
    Views
    2,061

    Re: Can't find file (not sure the error)

    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...
  22. Replies
    21
    Views
    2,061

    Re: Can't find file (not sure the error)

    Failed to load Main-Class manifest...
  23. Replies
    21
    Views
    2,061

    Re: Can't find file (not sure the error)

    in Eclipse theres a green play button called run.
  24. Replies
    21
    Views
    2,061

    Re: Can't find file (not sure the error)

    if i put the path to where the file is on my computer, then it wouldnt work if i distribute the program
  25. Replies
    21
    Views
    2,061

    Re: Can't find file (not sure the error)

    oops... didnt mean t double post, didnt know there was another page
Results 1 to 25 of 32
Page 1 of 2 1 2