• 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

two very simple question!

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. Must I use data class in suncertify package, may i modify the data class?
2 i am making gui class now, and i use a Jframe contains a container, and the container contains three panel. how should resize the container when the jframe change the size?
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kevin, I have not yet started SCJD (I'm still waiting for SUN education to respond to the order), but these are the principles I would apply:
1. Can you make your modifications by extending the Data class and overriding its methods, overloading its methods or providing additional methods? If you can, then I would go ahead.
2. What does it look like when you resize the GUI?
Making the GUI bigger or smaller should just reflect in increasing or decreasing the amount of visible data in the table. The relative positions and relative sizes of the control elements should remain the same.
I'm very interested in hearing further opinons from other SCJD takers.
[ March 23, 2003: Message edited by: Barry Gaunt ]
 
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


1. Must I use data class in suncertify package, may i modify the data class?


The instructions are very clear, -- you can do either. In your design choices document, you are expected to defend your decision.


2 i am making gui class now, and i use a Jframe contains a container, and the container contains three panel. how should resize the container when the jframe change the size?


In addition to what Barry commented, take a look at the resizing behaviour of a well-designed Java application, such as JBuilder. The resizing of your elements is controlled by your layout manager.
Eugene.
 
reply
    Bookmark Topic Watch Topic
  • New Topic