Search:

Type: Posts; User: DudeJericho

Search: Search took 0.11 seconds.

  1. Replies
    9
    Views
    3,025

    Re: Adding a Panel from a different class

    Thank you for your advice but I've decided to try something a bit more simpler, seems to be working alright.
  2. Replies
    9
    Views
    3,025

    Re: Adding a Panel from a different class

    Oh, my intention had nothing to do with CardLayout, my original idea was that there would be a called to the JPanel via a constructor when the user clicks on "New Session" via JMenu, however that...
  3. Replies
    9
    Views
    3,025

    Re: Adding a Panel from a different class

    Really? Is it that easy? I'll try it out, thank you very much!
  4. Replies
    9
    Views
    3,025

    Re: Adding a Panel from a different class

    I want to know is there is a way I can put the panel I have created in my KanjiRoku class into the frame that is in KanjiInterface? I could try the CardLayout but I want to see if its possible to try...
  5. Replies
    9
    Views
    3,025

    Adding a Panel from a different class

    I'm having this problem figuring out how to add a Panel that has been set up in a different class into another class that has a Frame. Basically when the program starts the use just sees a Frame,...
  6. Re: Comparing elements of an arrayList with an array?

    I'm not that experienced in Java unfortunately so the thought didn't occur to me.. I will attempt that, thank you.
  7. Replies
    4
    Views
    1,655

    Re: Error for a simple array

    Sorry for not replying quicker, I have managaed to sort out the problem, but thank you :)
  8. Comparing elements of an arrayList with an array?

    I'm building a program where users need to click on polygons in a certain order to be correct (the polygons are fashioned like "strokes" that make up a Japanese Kanji character), each polygon is...
  9. Re: No errors but just won't print out the first element of an array list

    I see! Thank you! I will try to fix that :)
  10. No errors but just won't print out the first element of an array list

    Hi, in my program the user clicks on certain polygons that make up the shape of a Japanese kanji character. Each polygon has a number and when clicked that number goes to an array list (which I'm not...
  11. Replies
    4
    Views
    1,655

    Re: Error for a simple array

    I apologize for this but the error returns when I try to put the value 1 at the first position and I'm getting another error just below that saying I need a semi-colon to complete a statement, but I...
  12. Replies
    4
    Views
    1,655

    Re: Error for a simple array

    Ok for some reason initialising it when declaring "int[] strokePos = new int[4] ;" doesn't bring up the error... that doesn't make much sense to me, its like the same thing right? Even though I don't...
  13. Replies
    4
    Views
    1,655

    Error for a simple array

    I'm trying to create an array that holds 4 values. Declaring the array seems like its not a problem but initialising it keeps giving me this weird syntax error that its expecting "," on token ";",...
  14. Replies
    2
    Views
    1,254

    Re: contains method not working?

    Thank you! That was the problem! I'm quite new to Java so I doubt I would have noticed that..
  15. Replies
    2
    Views
    1,254

    contains method not working?

    Hello, I'm making a program where when the user clicks inside of the polygon it'll display a message saying they clicked inside of it and a different message for when they click out of it, I've done...
Results 1 to 15 of 15