Search:

Type: Posts; User: SV25

Search: Search took 0.27 seconds.

  1. Replies
    1
    Views
    804

    variable might not have been initialized

    Hi all,

    Annoying problem I keep getting as shown in title.

    basic info about my program :

    menu appears, if the user enters 4 then they set some words to a string (for instance String chicken...
  2. Replies
    4
    Views
    382

    Re: Question on arrays.

    Okay great, thanks

    One other question - as ive declared my array within the for loop - how can i use it elsewhere in my program? I tried dimming as public but that did not compile
  3. Replies
    4
    Views
    382

    Question on arrays.

    Are arrays supposed to be unreadable? I have a program that sets words to each element of an array but when i try to print it out it just comes up in system code?

    Also - If I wanted to write said...
  4. Replies
    3
    Views
    330

    Re: What's wrong with simple Scanner program?

    The program compiles and runs however if I input a it does not output 3.5
  5. Replies
    3
    Views
    330

    What's wrong with simple Scanner program?

    import javax.swing.*;
    import java.util.*;

    public class Scanner1{

    public static void main(String[] args){

    String first, output;
    Scanner scanner1 = new Scanner(System.in);...
  6. Thread: JComboBox

    by SV25
    Replies
    2
    Views
    509

    JComboBox

    Hi all,

    A bit stuck with a problem I have to solve :

    Basically I have 2 ComboBoxes, each with 4 options ( say a,b,c,d).
    I also have a Button and a TextField on one window.

    I want the user...
Results 1 to 6 of 6