Search:

Type: Posts; User: lil_misfitss

Page 1 of 2 1 2

Search: Search took 0.13 seconds.

  1. Replies
    9
    Views
    233

    [SOLVED] Re: Painting other things on surface

    Oh my goodness. Thank you for the help. I realised I had a picture called chose and not chosen so it showed nothing. Hope this wasn't time wasted! xD
  2. Re: I want to input a double in JTextField,and use that double to calculate the new balance and then as an output to have the new balanca written in the label.. (i am a beginner)

    I think I could help you. Do you still need this problem fixed?
  3. Replies
    9
    Views
    233

    [SOLVED] Re: Painting other things on surface

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    class Unit implements Runnable
    {
    int xpos = 100;
    int ypos = 100;
    boolean enter = false;...
  4. Replies
    9
    Views
    233

    [SOLVED] Re: Painting other things on surface

    Alright I put the full code up. I took some things out. I've also made a timer,weather and date object.
    Here the timer counts up


    import javax.swing.*;
    import java.awt.*;
    import...
  5. Replies
    9
    Views
    233

    [SOLVED] Re: Painting other things on surface

    If you guys have questions on exactly what I mean I'll give more detail.
    Thanks
    lil_misfitss
  6. Replies
    9
    Views
    233

    [SOLVED] Painting other things on surface

    Hello! I was wondering if I could create an object that has a picture that prints over my paint surface? I've tried putting a paintcomponent method in the "unit" object but it wouldn't show up on the...
  7. [SOLVED] Re: JPanel and PaintSurface not agreeing.

    Thank you for the input and I did change that. Now I have another problem(or maybe it is 2?) I figured out how to have the buttons, labels etc to show as you draw the shape but this is happening now....
  8. Replies
    2
    Views
    185

    Re: Not sure how I would do this...

    Do you still have the problem? If so i'm gonna look and see if I can fix it :D
    lil_misfitss
  9. [SOLVED] JPanel and PaintSurface not agreeing.

    Hello all!
    Its been awhile since I've been on here but I'm back and coding strong. Now the Problem.
    I'm creating a program with labels and buttons on the bottom half of the screen and at the top is...
  10. Replies
    2
    Views
    259

    Re: Object not following mouse!?

    Thank you GregBrannon. I will try this and see if this helps.
    lil_misfit:o
  11. Replies
    2
    Views
    259

    Object not following mouse!?

    Hello everyone. I'm still trying to make a game. XD Right now I'm trying to make a square so that you select it and then click a place and the square will move to that place. I have a program where...
  12. [SOLVED] Re: A question about an object detecting another.

    The object is my object called Testai and each cow is supposed to have its own intelligence (so far that is moving around and detecting). Would you like me to post the Testai code? I have it so it...
  13. [SOLVED] A question about an object detecting another.

    Hello everyone!
    In my absence from this site I have been experimenting with swing and graphics. My problem is this, I have two cows on the screen that move along a grid(each square is 16x16) and I...
  14. Replies
    7
    Views
    171

    [SOLVED] Re: How to create your own packages?

    Sorry I haven't responded, been away from programming a bit. I will try that little "exercise" and see if I can get packages working! Thanks for all the help Norm the SUPER MODERATOR!

    lil_misfit...
  15. Replies
    7
    Views
    171

    [SOLVED] Re: How to create your own packages?

    The graphics folder is in the game folder: jg.misfit.game.graphics.
    So how do i change the classpath to include graphics folder?
  16. Replies
    7
    Views
    171

    [SOLVED] Re: How to create your own packages?

    Okay so I think the compiler is finding the Render.java file but now this appears when compiling Game.java:

    C:\Program Files\Java\jg\misfit\game>javac Game.java
    Game.java:9: error: cannot access...
  17. Replies
    7
    Views
    171

    [SOLVED] How to create your own packages?

    Hello!

    I'm following a tutorial that is using eclipse but i use notepad++ to code. I know eclipse is better but I feel familiar with notepad++ and the cmd prompt. What I was wondering is how do...
  18. [SOLVED] Re: Exception in Main NullPointerException?

    Wow, it was that simple thanks!
    :rolleyes:
    lil_misfit
  19. [SOLVED] Exception in Main NullPointerException?

    Hello!
    I'm trying to make a program where the ball moves to the right of the screen but my program compiles correctly. It's when I run it is when this pops up:
    Exception in thread "main"...
  20. Replies
    12
    Views
    123

    Re: I dont understand this code ?

    I don't get the question because it does display 9 zeroes. I copied it and ran it. It works!
  21. Replies
    3
    Views
    101

    [SOLVED] Re: Could I have made this simpiler?

    Wow! Thank you for the great responses and I'll try to use some of the suggestions you gave me (copeg).
    To answer your question the variable list is an JComboBox of Strings representing the first...
  22. Replies
    3
    Views
    101

    [SOLVED] Could I have made this simpiler?

    Hello,
    My previous post told of how I was learning about threads, objects, swings and more. After learning studying I made my own simple program using basic swing and I was wondering if I could have...
  23. Replies
    4
    Views
    203

    [SOLVED] Re: Need Help Practicing

    Thank you again! Tomorrow I'll start practicing threading etc.. Thanks to all that have replied and suggested things!
  24. Replies
    4
    Views
    203

    [SOLVED] Re: Need Help Practicing

    Yes we did have a text book and I have the Java All in one for dummies (Java 7) and the text book has a few exercises but not many. The dummies book has 0 exercises. I'll try searching for that!...
  25. Replies
    4
    Views
    203

    [SOLVED] Need Help Practicing

    I'm trying to teach myself more advanced programming so that I could soon make a game. The things I am trying to learn are:
    Threads
    Drawing Shapes and Putting Images on a Screen
    Using Event...
Results 1 to 25 of 33
Page 1 of 2 1 2