Re: Gui Question




"IanH" <hill_ian_j@xxxxxxxxxxx> wrote in message
news:1143661396.827405.20890@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have posted my code for the interface if anyone can help. I have to
create an interface for employees pay. I think i need to create an
instance of the object (object names are Employee, SalariedEmployee,
CommissionEmployee and BasePlusCommission)for each type of employee but
not sure.

At the very least, I think you need to post the complete text of the
assignment. It is impossible to guide you very far without knowing what you
are trying to do. You can't do the assignment without having a clear
understanding of what is required and it is just as hard for us to help you
if we don't know what you are trying to accomplish.

I also think it would be a good idea for you to work through the general
overview of how GUIs are constructed in the Java Tutorial -
http://java.sun.com/docs/books/tutorial/uiswing/learn/index.html - to get
the basic concepts down before we try to tackle this specific problem. Even
if you don't have the time to actually play with the examples, just reading
that section through carefully will give you a foundation of concepts and
techniques that we need to have in common before we can talk about your
assignment. It really shouldn't take you very long to read through this
section so I highly recommend that you do this.

Naturally, if you have course notes or a textbook that you like better which
covers the same sort of material, feel free to read that instead of this
section of the Java tutorial. Everyone has their own best way of learning
and you need to use the learning techniques that work best for you. But I
think you need to get some of the concepts under your belt before we can
really converse about what you are going to do.

--
Rhino


.



Relevant Pages

  • Re: Design Pattern Question
    ... but Proxy is pretty much designed for restricted or selective access. ... interfaces for Employee that only provide X, X+Y, or Z access. ... one "hard-wires" the appropriate interface for each client. ... I would like to explore this design further. ...
    (comp.object)
  • Re: OOP object collections
    ... interface for the business object. ... string ZebraName ... private System.DateTime _createDate; ... and a Employee class. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: OOP object collections
    ... interface for the business object. ... string ZebraName ... private System.DateTime _createDate; ... and a Employee class. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: design problem
    ... Revealing the existence of strategies, both interface and each ... and the fact that employee has only one payment model ... that you need to have many payment models active at the same time for the ... need to move employees from one payment model to another, ...
    (comp.object)
  • Re: Design Pattern Question
    ... Assume an employee application at a work place. ... a priori I would regard this as a trick question because there is a much easier answer than design patterns. ... The available interface then prevents the client from accessing properties it shouldn't because they are not defined in that interface. ... In that situation the dynamics of the relationship are too complex to express with a simple association because of the substitution. ...
    (comp.object)