Search:

Type: Posts; User: Kanyon

Search: Search took 0.12 seconds.

  1. Replies
    13
    Views
    2,544

    [SOLVED] Re: "If" statement not working

    Okay, I have no idea what that means :P
  2. Replies
    13
    Views
    2,544

    [SOLVED] Re: "If" statement not working

    In the code above, I have the Radiobuttons declared as class-wide variables. For some reason, I cannot set their checked value from a sub that they weren't added to the JFrame. This has something to...
  3. Replies
    13
    Views
    2,544

    [SOLVED] Re: "If" statement not working

    Oh, nevermind. That is a rather big error that should go in a separate thread. Thanks for the help!
  4. Replies
    13
    Views
    2,544

    [SOLVED] Re: "If" statement not working

    Would the Radiobuttons not changing have anything to do with being declared as Static? They are. Here is my entire edit class:



    import java.awt.BorderLayout;
    import java.awt.Color;
    import...
  5. Replies
    13
    Views
    2,544

    [SOLVED] Re: "If" statement not working

    Okay, thank you. That seemed to work. I didn't notice it because the RadioButtons don't change value for some reason. Thanks for your help though!!!
  6. Replies
    13
    Views
    2,544

    [SOLVED] Re: "If" statement not working

    so, like this?:

    if(temp.equals("Red") == true){

    }
  7. Replies
    13
    Views
    2,544

    [SOLVED] Re: "If" statement not working

    public static void setup(){
    String message;
    String colour;
    String movement;
    String original;
    String temp = new String();
    int count;
    boolean colourbool = false;
    boolean...
  8. Replies
    13
    Views
    2,544

    [SOLVED] "If" statement not working

    Hi. I have an if statement that checks if a string matches the title of a radiobutton. If it does, it sets the radiobutton's selectedValue to true. If not, it disregards the string and puts it into a...
Results 1 to 8 of 8