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.
Type: Posts; User: SerratedMind
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.
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...
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...
You are correct. Congrats.
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...
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.
Hello Kanyon,
This seems to be an issue when using both awt and swing. This article should help you find a solution.
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...
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.
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...
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.
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...
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....
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...
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...
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,...
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...
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...
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...
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...
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.
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.
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...
The JTextField you made is enabled by default, so having the message pop up right away is exactly what's supposed to happen.
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...