Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets

 
Patrick Mugabe
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers!!!
I would like to create a login applet for my school project but I don't know how best to do it.
I would want the program to check for names in the database for validation so can someone please advise me on how best I can do this.
If the username is valid it should then bring up another applet for the real application
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Patrick,
exactly what help you need depends on how much java you're already familiar with. You might think that this is fairly advanced stuff, what you need to do. Sometimes it's difficult to tell when you don't know. I mean, I posted a msg in this advanced bit, but it might be a leadpipe cinch. Actually you're far more likely to get better answers in the java in general (beginners) forum.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or, even better, in the forum we have specifically for questions about Applets.
In the hope that you might get more answers there, I've moved this post to the Applets forum for you.
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Patrick,
You can do it many different ways. Two possible are:
1. Use cardlayout
First pane - loginPanel
Second pane - your applet
2. Use modal dialog launched from applet. If dialog cancelled remove all components from the applet so that it can not be interactive.
I don't think there is a best way to do it, GUI design is always flexible.
Regards,
Manfred.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic