• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can anyone help me with Modal JDialog Box?

 
Farhad Rahmati
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys

Assum I have two dialog box in my application

one as a login form which takes username and password and has buttons for example Login and Screen KeyBoard

I made Login Dialog Box Moda and the type of Modal is application which blocks the entire application until you type the correct user name and password

the second dialog box is onscreen key board which let's you type user name and password in TextFields in the first dialog box (Login Form)

the problem is Login Form Block the keyboard aswell and I am looking for a way to make both work with each other.

If I don't make the Login form Modal then that's fine both works fine and then the application won't be blocked and anyone can use it without typing user name and passwords

could you please provide me some idea how to do it, or any alternative solution for this simulation

Thanks
Farhad
 
Luigi Plinge
Ranch Hand
Posts: 441
IntelliJ IDE Scala Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about you don't display the application interface until the user is logged in.
 
Farhad Rahmati
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds great and I wanted to do like that, but had no idea how to do it

I would like that, but the thing is I couldn't do that

I am using netbeans, and Desktop Application. some codes are generated and I couldn't edit it

if you got any idea how to do it. I would apriciate if you could share it
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!