Organize applet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chellemybelle
    New Member
    • Nov 2007
    • 4

    #1

    Organize applet

    Hello Java Forum,
    I am writing an applet to display a menu with various text fields, buttons, and such. I wanted to know if you could help me to organize my classes. My limited logic in this subject thinks I should write one class to design my panel, and a button handler class to extend the panel class that implements listener(which would include my instance variables for the various menu functions). Would that cover it? Also, when i design my panels and label them, should I code the font size and such in my panel class or have another class with all that info and extend it or import it? I hope this makes sense:) Thank you for whatever assistance you could provide.

    (I apologize if this gets posted twice my first attempt generated an error)
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by chellemybelle
    Hello Java Forum,
    I am writing an applet to display a menu with various text fields, buttons, and such. I wanted to know if you could help me to organize my classes. My limited logic in this subject thinks I should write one class to design my panel, and a button handler class to extend the panel class that implements listener(which would include my instance variables for the various menu functions). Would that cover it? Also, when i design my panels and label them, should I code the font size and such in my panel class or have another class with all that info and extend it or import it? I hope this makes sense:) Thank you for whatever assistance you could provide.

    (I apologize if this gets posted twice my first attempt generated an error)
    Keep this page open with you while you do it.
    P.S You can even download the whole thing to your computer.

    Comment

    Working...