Hi Edward, Please see my comments below.
On Fri, Jul 11, 2003 at 04:48:58AM -0700, ed banfa wrote: > > 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. This is more of AWT question, it's out of my area. Try asking it on AWT feedback list: http://java.sun.com/docs/forms/awt-sendusmail.html BTW, unfortunately, going to fullscreen won't help you, because users will still be able to alt+tab out of the application. > 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, And this is a Swing question, send it to [EMAIL PROTECTED] Sorry I can't help you more. Thank you, Dmitri > > 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 and 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! =========================================================================== 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".