This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Can anyone help me with Modal JDialog Box?

 
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
 
Ranch Hand
Posts: 441
Scala IntelliJ IDE 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!