Search:

Type: Posts; User: Skywola

Page 1 of 2 1 2

Search: Search took 0.41 seconds.

  1. Replies
    3
    Views
    130

    Re: Desktop Application . . . signing?

    Thanks to both of you for your responses. I installed it on an older computer, and it was giving me about the most generic error you could imagine, no description, it just said error. So, I took...
  2. Replies
    3
    Views
    130

    Desktop Application . . . signing?

    I have built a desktop application, but if I try to run it on another computer, it will not work, I am assuming that is because it is suppose to be signed, but then again when I read about signing,...
  3. Replies
    4
    Views
    193

    Re: Embedding an image in textbox

    It looks like you are correct on that Norm . . .
    How to Use Editor Panes and Text Panes (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
    Thanks, that really appears...
  4. Replies
    4
    Views
    193

    Re: Embedding an image in textbox

    Microsoft word is an example of what you can do - drag-drop an image into it, and the image itself
    shows up within the text. That is what I would like to be able to do. I have been able to do...
  5. Replies
    4
    Views
    193

    Embedding an image in textbox

    Is this even possible? I would like to make it so I can drag drop an image into a textbox . . .
    does anyone know of any tutorials or example code for this? Thanks in advance.
  6. Replies
    3
    Views
    157

    Re: Java user input

    I created a project similar to what you are talking about. ArrayList works good for it, but you will want to create a class for the questions and answers. Creating a class and passing it to the...
  7. Replies
    3
    Views
    157

    Re: Java user input

    You say "Okay im trying to get when a user inputs a question the java program will output a pre written answer."

    Are you only expecting one question?

    Also . . . change



    username =...
  8. Replies
    1
    Views
    321

    Re: No Input, Windows 7 64-bit, Netbeans 7.4

    I found the problem . . . . it is disgusting! :(|) NetBeans uses UTF-8, as it should be . . .
    Eclipse uses ANSI! And it is a locked setting, so you cannot change it as far as I know.
    The...
  9. Replies
    1
    Views
    321

    No Input, Windows 7 64-bit, Netbeans 7.4

    I am running Windows 64 bit, Netbeans 7.4, and I can't key command-line
    input. Eclipse, using the exact same code, allows input. I have tried
    all kinds of changes to the settings, but still...
  10. Thread: Typecasting?

    by Skywola
    Replies
    2
    Views
    201

    Re: Typecasting?

    So it appears that they are saying that to use the JComponent features, you need to
    do one of three possible things:

    1. Typecast the return value.

    contentPane1 = (JComponent)...
  11. Replies
    1
    Views
    213

    Re: Making Commands in Java

    A good reference for starting is:

    The Really Big Index

    I am with you, I am learning this too. The method I am using is:
    First import:

    import java.util.Scanner;

    Then in the main part of...
  12. Thread: Typecasting?

    by Skywola
    Replies
    2
    Views
    201

    Typecasting?

    On the Oracle website, at
    Using Top-Level Containers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)

    I have this paragraph:


    However, it does not really give a...
  13. Thread: File IO

    by Skywola
    Replies
    6
    Views
    407

    Re: File IO

    I hear you on that . . . . I am currently working through a transcender practice
    test for the first Java 7 exam, and it is no walk in the park, if you do no coding, your
    chances of passing are...
  14. Thread: File IO

    by Skywola
    Replies
    6
    Views
    407

    Re: File IO

    Well, I am really looking for something that expands on this:
    Reading, Writing, and Creating Files (The Java™ Tutorials > Essential Classes > Basic I/O)

    AND any other forms, including nio. ...
  15. Thread: File IO

    by Skywola
    Replies
    6
    Views
    407

    File IO

    File IO is a large subject, and what I really find confusing about
    it is that nearly anywhere you look for information on it, you find
    a morass of different methods listed on how to read or write...
  16. Replies
    3
    Views
    237

    Re: Question about interfaces

    You have drawn the wrong conclusion; I did not paste this in. I use a 42" television
    as my computer monitor . . . . hence the "wideness".
  17. Replies
    3
    Views
    237

    Question about interfaces

    I really just suspect this, but I'm asking to confirm one way or the other.

    In the study books I have read about interfaces, all of the examples I have seen so
    far show the interface being...
  18. Re: Experiment gone wrong . . . exception in class

    That makes sense . . . . I'll give it a whirl. Thanks.

    Later note:
    Just in case anyone wants to see what I cooked up from this:



    public static int[] swapElements(int[] values, int...
  19. Experiment gone wrong . . . exception in class

    Ok, so I was just goofing off, creating a class that allowed you to pass in an array,
    and pass in the two positions that you want to swap, and then return the array,
    it's just a jackass solution,...
  20. Replies
    2
    Views
    389

    Re: BlueJ, Unit testing question

    Thanks for the response . . . I use Eclipse for writing the code, but BlueJ for testing. BlueJ seems to be kind of cool because you can do UML in it too.
  21. Replies
    2
    Views
    389

    BlueJ, Unit testing question

    Do most unit testers use BlueJ? I am wondering what I should learn for unit testing. Also, given that you should unit test all classes, if you are writing a class that produces a ListArray of...
  22. Replies
    3
    Views
    241

    Re: Redirecting output at command line.

    Thanks Greg and Norm . . . your right, I should have mentioned it is for Windows 7 . . . I'll edit the original message, thanks!
    I do not see any OS forums here on this site. I use CentOS too, but...
  23. Replies
    3
    Views
    241

    Redirecting output at command line.

    This should be easy, but it does not seem to be working . . .

    All I want to do is output the help info to a file, and I am attempting to do it on the command line like this:

    javac -help >...
  24. Replies
    1
    Views
    239

    classpath, .jar, and import statements

    I am trying to figure out how to take my .class files, put them in a .jar file, and then
    import the package into a .java file.

    So far, I have been able to create the .jar file, but I am...
  25. Replies
    3
    Views
    218

    Re: Code Experiment - Why the change?

    Ok, I see, said the blind man . . . .




    a = 10;
    System.out.println("a = " + a);
    f = a++ +a;
    System.out.println("a =" + a + " a = " + a);
Results 1 to 25 of 27
Page 1 of 2 1 2