Search:

Type: Posts; User: SerratedMind

Page 1 of 2 1 2

Search: Search took 0.31 seconds.

  1. Re: Dice Wagering Game new to Multiple Classes

    I would suggest reading this tutorial on Classes and Objects. There is a lot of information there but I believe it will help out a lot.
  2. Replies
    3
    Views
    276

    Re: Information on Java Mapobjects

    Hello rain_dew,

    Could you please elaborate on how this application is to be 'like' Google maps. In Java, a Map object is a type of interface, do a little bit of reading and you will quickly find...
  3. Re: Dice Wagering Game new to Multiple Classes

    Hello Laxman2809,

    For future reference, please post any errors you get to ensure a speedy response. That being said, here are some of my thoughts:

    Bankaccount class:
    1. I see no reason to...
  4. Re: New to Java, could you explain something to me?

    You are correct. Congrats.
  5. Re: Unable to execute the program (no compilation error)

    Hello Alexie91,

    I don't see where x would ever be less than 0 and thus you have an infinite loop. If the condition x>0 was to check if N was positive then I would suggest doing that before you...
  6. Replies
    1
    Views
    208

    Re: Hi everybody

    If you want help then you will need to tell us what your problems are. If you do, I'm sure you can get a solution.
  7. [SOLVED] Re: Menus appear behind AWT List when spinner is focused

    Hello Kanyon,

    This seems to be an issue when using both awt and swing. This article should help you find a solution.
  8. Replies
    1
    Views
    338

    Re: Basic Java question

    Hello fred2028,
    getColumns would be the name of the method and (String f) shows that the method takes 1 parameter of type string. The Deque<String[]> part is the method's return type. As for...
  9. Replies
    1
    Views
    434

    Re: Adding sound to a game application

    Please post the strange errors/warnings so that you may get a better answer as to what your problem may be. Also a bit of code to see your implementation wouldn't hurt.
  10. Replies
    3
    Views
    254

    Re: Layout related problem

    Hello Gaurev18,

    Check out these Oracle tutorials about Creating a Custom Layout Manager and Absolute Positioning. Those should help you get the desired result.

    Best of luck.

    EDIT: Not sure...
  11. Replies
    3
    Views
    254

    Re: Layout related problem

    Hello Gaurev18,

    Check out these Oracle tutorials about Creating a Custom Layout Manager and Absolute Positioning. Those should help you get the desired result.

    Best of luck.
  12. Replies
    2
    Views
    239

    Re: New Learner and Need help.

    Welcome FJIW,

    Java does indeed have many IDEs available, I personally use Eclipse. There are many others but I'm sure Google can help you out to find them. As for the problem with JavaC not...
  13. Replies
    3
    Views
    416

    Re: Using enum, returning null

    So here is what I'm seeing that could be causing some issues. First the Driver class:
    1. You set world[count] to a new instance of World regardless of whether or not one needs to be created.
    2....
  14. Replies
    3
    Views
    370

    Re: No idea how to fix it.

    Hello Hammer67, first off it would help a lot if you would place your code

    In one of these boxes and have it formatted with indents and what-not
    so that it is easier to read and therefore easier...
  15. Replies
    26
    Views
    2,469

    Re: Java Tutorial Problem - HelloWorldApp

    Hello ch103, I'm sorry to hear java is giving you all these problems. However, I believe these two links will help you to overcome these issues.
    JDK Installation Instructions(this includes how to...
  16. Replies
    5
    Views
    507

    Re: JCheckBox help is this possible?

    There is a way to do this by using java.awt.font.TextAttribute and java.util.Map. This way you won't need a MouseListener. The general form, I believe would be like this:



    Map<TextAttribute,...
  17. Replies
    5
    Views
    596

    Re: Unused Variable in ActionEvent()

    If you only care that the event happened and not what caused the event then there is no point in passing evt in the method doStuff(). In your example program evt will just be sitting around being...
  18. Replies
    9
    Views
    500

    Re: Distribution of Application

    I may be able to help a bit here. In the JSmooth User Manuall there is a section called JVM Bundle which describes a way to include the jre (~12mb). As far as I know, you would not be able to run...
  19. Re: How do dockable Frames (as an eclipse UI views)

    Assuming you don't want to use a third party library to handle the docking procedure, yes it can be done. Off the top of my head I can think of a few things you would have to do.

    1. Create a...
  20. Replies
    9
    Views
    500

    Re: Distribution of Application

    So, if I understand correctly, when you place the program.jar and jxl.jar into the same folder then the application works. If that is the case I would just have the distribution be a folder...
  21. Re: Eclipse question from newbie - reading keyboard

    I'm thinking you just need to click in the console window at the bottom of eclipse to give it focus. If it does not have focus then it won't take input.
  22. Replies
    14
    Views
    1,496

    Re: How to convert password to md5?

    Hello A4Andy,

    I am going to assume you know how to get the value in the JPassowrdField already. As for converting that to md5, check out Message Digest.
  23. Replies
    2
    Views
    468

    Re: Trouble passing array in parameters

    Hello AngryCrow,

    Before getting to the problem of this code, there are some posting good-practices you will want to consider:

    1. If you are going to post code put it between the
    tags (minus...
  24. Replies
    1
    Views
    449

    Re: isEnabled() method for Jtextfield

    The JTextField you made is enabled by default, so having the message pop up right away is exactly what's supposed to happen.
  25. Re: I need to create a class that coordinates all the others and don't know what it m

    If you made a class Test you could create an instance of it called getData. It's basically the same way I coded it except I made a class getData which seems to be incorrect going by the outline. As...
Results 1 to 25 of 30
Page 1 of 2 1 2