Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

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

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
It's feeding time! Give me the food you were going to give to this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic