Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] ITD - why public ?

I would like to move all code that that is responsible for setting up the gui into an aspect.

The following code seems to work:

    public JdbTextField FrameAddress.txtWeb = new JdbTextField();
    public JdbTextField FrameAddress.txtName = new JdbTextField();
    public JdbTextField FrameAddress.txtVorname = new JdbTextField();
    public JdbTextField FrameAddress.txtOrt = new JdbTextField();
    public JdbTextField FrameAddress.txtStrasse = new JdbTextField();
    public JdbTextField FrameAddress.txtPLZ = new JdbTextField();
    public JdbTextField FrameAddress.txtTelefon = new JdbTextField();
    public JdbTextField FrameAddress.txtFax = new JdbTextField();
    public JdbTextField FrameAddress.txtMail = new JdbTextField();

But why have this declarations to be public ?

Regards
  Roger


Back to the top