Forum: Java Oct 5th, 2009 |
| Replies: 20 Views: 1,845 Thank you so much Ezzalar, I finally figure out what you said. . .It's finally solve. I did it like this:
spot1 = new ImageIcon("spot.gif");
point1 = new MapLabel(spot1, "p1");... |
Forum: Java Oct 5th, 2009 |
| Replies: 20 Views: 1,845 Each point has its own specific action. . .I need to put If condition to that, I found some codes on the internet and it looks like this:
spot1 = new ImageIcon("spot.gif");
point1 = new... |
Forum: Java Oct 4th, 2009 |
| Replies: 20 Views: 1,845 So you mean like this?
Assuming I have 3 frames name:
Point1 p1 = new Point1();
Point2 p2 = new Point2();
Point3 p3 = new Point3();
public void mouseClicked(MouseEvent e) {
Point1 p1 = new... |
Forum: Java Oct 4th, 2009 |
| Replies: 20 Views: 1,845 The code works great. . .Thank you so much Ezzaral. . .I would like to ask one last thing. . .please advise me.
I would like to ask if the code is correct, the code will open another window name... |
Forum: Java Oct 3rd, 2009 |
| Replies: 20 Views: 1,845 Wow, thank you so much . .I think this will work. . I will let you know if it really work as soon as I can. .the code is really understandable. |
Forum: Java Oct 2nd, 2009 |
| Replies: 20 Views: 1,845 I found some information on the internet that explain on how to set the location of the label. Thank you for the idea, I will let you know soon if I get this thing right. |
Forum: Java Oct 2nd, 2009 |
| Replies: 20 Views: 1,845 so by the setting the label's opaque to null, the map image and the spot image will go along. . .? that mean the map image will be at the back and the label will be in the front of map image?
As... |
Forum: Java Oct 2nd, 2009 |
| Replies: 20 Views: 1,845 Well if I use JLabel to hold the spot, the map image will be gone plus labels, button, and etc can only be align through several alignments like border layout, grid layout, and etc. . .you cannot set... |
Forum: Java Oct 2nd, 2009 |
| Replies: 20 Views: 1,845 Guys, I have created a map by making a map panel program and set the images there. I am using the paint component to set the images on the coordinates I want. Now my first problem is solve. The next... |
Forum: Java Oct 1st, 2009 |
| Replies: 20 Views: 1,845 Yap, you hit exactly what I want. I want to put the map image as a background in the panel if it is possible. Now the radio button will be placed in the red spot on the image. Would this be possible... |
Forum: Java Oct 1st, 2009 |
| Replies: 20 Views: 1,845 Hallo to all, I need help on how to put a radio button on the coordinates I want. . .I have this map program and I want to place the radio button on the specified place on the map. I don't know how.... |