I've made a button. Set its image using btn.setImage method. Now what I want to do is - when a user clicks on the button, the button should remain selected. And when he clicks on some part of the shell (except that part where button already exists) the image on the button should appear there. I've image of a PC that I want to handle this way.
Can someone tell me the exact methods that I need to use. Is DND class to be used for it?
could anyone please tell me how to create a new thread...i am really struggling....
where would i find a button NEWTHREAD as mentioned in FAQ?
First you navigate to the forum in which you want to start the thread e.g "New to Java" or "Advanced Java"
Originally Posted by Cbani
Then the "New Thread" button is near the top left corner of the page.
You can't let the (push) button be selected bcause it is a native component and the clicks and rendering (of the action) ist handled by the OS
Originally Posted by shahdharmit
try to create your own button from a composite or a canvas with desired functionality