|
|
Question:
Alright so this is more of a general learning process but my question is; Is it possible to make an area Clickable even if it's not a button.
Why did I ask:
The reason why I asked is because the gameframe I'm using i decided that it would be all gameframe and actually no buttons but in the case that this is impossible then im going to have to learn how to process buttons i guess. This is what it looks like ingame?
So is it possible to make it so when I click on a button a new interface open, or even a general button clicking area is clickable? Please leave a positive response and something with general description on how. Thank you, Algorithm.
THIS IS NOT A RSPS
Last edited by Jason; 08-08-2010 at 12:33 AM. Reason: had to fix some dialogue


Or you could use object oriented programming to create a Button object that requires you to bind a java.awt.Rectangle (disguised as a Button object) to a JComponent, and then just check (upon mouse click of course) if the mouse intersects your Button (java.awt.Rectangle)?
EDIT: My brain has kind of went into an infinite loop trying to design the memory manager of my kernel, so until it hits a break statement I'm available for a little help, so if you need it, I could visualize what I said as an example.
All great help, esp Benjamin(rep++) Thank you for the explanation.

| « Crowns - Vbulletin. | Building An Ant Build File » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |