• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Applets

 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic