Hello, Dmitri
Thank u very much for the help, I have looked at the demos and I have gotten started implementing the concepts I got into my app.
Dmitri I am having another problem and I would be very grateful if you could help me out.
I have asked this question on the list be for but I was not fully satisfied.
Actually I am making a cybercafe software and I would like to have a window on the client machines that completly obscures the desktop, the only way to use that machine is if u log in successfully.
I am having problems with always keeping the window on top, I though that if a user tries to access any other native app, I could have a thread constantly pushes my window forward to odstruct the other native apps.
I was told that I should use either JNI to trap MSWindow key events or to use Java Full Screen mode. The JNI way would prevent user from killing my app using Windows sys keys and well with the full screen I would really have to change my code and I do not really have the time. I would like to know what u think I should do, can the thread way I mention be possible.
Another problem I am having is with the JPasswordField , I have it to collect password and the collected password would be checked against the password stored on a server. The problem is that when I compare the password from the PasswordField the collected password is a series funny characters I tried a lot of things but my password field keeps providing this funny character,
Sorry to have disturbed u with so much, but I am really a desperate and would really appreciate ur help. Thank u
sincerely Edward
Dmitri Trembovetski <[EMAIL PROTECTED]> wrote:
Hi Edward,
You can just draw your image in paintComponent, install a mouse
listener for your component and detect mouse button clicks, check
the coordinates of the mouse and react appropriately.
Check out demo/applets/ImageMap demo applet, which is shipped with
j2sdk. It does essentially that.
Thank you,
Dmitri
On Thu, Jul 10, 2003 at 09:37:09AM -0700, ed banfa wrote:
> Hello all
> I am trying to build an app that uses custom components, actuall I have an imag of a mobile phone and I would like to donate the phones buttons as my app controls and the phones screen as a video display. The problems that I have are mainly how to specify that the buttons are the controls, I know how to override the paintConponent(Graphics g){} method but the problem is actually with positioning, how do I place the buttons in the right place an d how do I specify that the screen of the phone is where I would like to place me video display component. I hope I am being clear in my explaination of my problem and I would sincerely appreciate any help or hints I could get.
> Thanks alot
> sincerely
> Edward
>
>
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
