Re: Use of JTable and tree

"Kerrigan, Philip" <[email protected]>
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <431D5499F171D5119AFE0002A55CC2BE018FFA80@itbmm201.exit01.exch.eds.com>
Frank,

thanks for the help. Using initclass saves me some code but more importantly decouples the table contents from the code.

Also rechecking my xml file I saw that I had not set the scrollpane constraints.

  <panel Border="EtchedBorder" layout="borderlayout" >
    <scrollPane constraints="BorderLayout.CENTER">
      <table id="table" name="table" AutoCreateColumnsFromModel="true" ShowHorizontalLines="true" ShowVerticalLines="true" initclass="MyTableModel" />
    </scrollPane>
makes the vertical scrollbar appear.

As for localisation, I have already used localisation in the xml file for Swix and I hoped it would be possible to use the same file to contain the other text strings I want to use, rather than have 2 lots of properties files.


distinti saluti/best regards
Philip Kerrigan

Solutions Consulting - Business Acceleration Services
tel +39 02-52029884
fax +39 02-52029472
mobile: +39 335-780-5151

EDS Italia SpA
Via Medici del Vascello, 26
20138 Milano
ITALY
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.