Search:

Type: Posts; User: tloz

Search: Search took 0.33 seconds.

  1. Replies
    4
    Views
    243

    Re: Just a few basic questions

    then can you at least give me the answer to my third question??
  2. Replies
    4
    Views
    243

    Just a few basic questions

    Ive been programming for about a couple of months now. All self taught. I'd probably consider myself as an intermediate/advanced Java programmer. But I still have some questions that I seem to never...
  3. Thread: Help with my GUI

    by tloz
    Replies
    13
    Views
    139

    [SOLVED] Re: Help with my GUI

    Thanks. I added this to the paintComponent method:
    g.drawString(String.valueOf(score), 25, 25);

    It now does it automatically, thanks for your help. I was trying to figure out what was the...
  4. Thread: Help with my GUI

    by tloz
    Replies
    13
    Views
    139

    [SOLVED] Re: Help with my GUI

    I was thinking of writing this in the mouseClicked method:
    public void mouseClicked(MouseEvent ee) {
    if (posx == permanentposx && posy == permanentposy) {
    score++;
    ...
  5. Thread: Help with my GUI

    by tloz
    Replies
    13
    Views
    139

    [SOLVED] Re: Help with my GUI

    I need the mouselistener to increment the score by 1 everytime the user clicks on the screen when the small circle is in the center of the big circle
  6. Thread: Help with my GUI

    by tloz
    Replies
    13
    Views
    139

    [SOLVED] Re: Help with my GUI

    I can compile it perfectly, Im getting no errors. Let me try and copy and paste it again:
    GUI

    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.event.ActionEvent;
    import...
  7. Thread: Help with my GUI

    by tloz
    Replies
    13
    Views
    139

    [SOLVED] Re: Help with my GUI

    There is no error bugs or anything, I need help writing the mouselistener codes.
    Ive edited the source code, ive added the import codes.
  8. Thread: Help with my GUI

    by tloz
    Replies
    13
    Views
    139

    [SOLVED] Re: Help with my GUI

    Oh yeah, I forgot to copy and past the import codes but they are in my class.
    Everything works fine BUT I dont know how to make the GUI realize that user gains 1 point when the user clicks when the...
  9. Thread: Help with my GUI

    by tloz
    Replies
    13
    Views
    139

    [SOLVED] Help with my GUI

    Hi guys, im new to GUI in Java and to this website. Ive self taught myself Java so far, I would consider myself knowing the basics of Java and I am ready to learn more advanced things in java.
    Im...
  10. Thread: Im new here!

    by tloz
    Replies
    1
    Views
    144

    Im new here!

    Hey guys, ive been coding using Java for a couple of months now. My main aim is to create an android app. Ive self taught myself so far but thinking of taking up courses on networking since thats...
Results 1 to 10 of 10