Personal Profile!

Good day...

I have a litle truble... I write on Personal Profile, that

understand only jdk 1.2 And he does included awt library.

I write for PDA's and i need to make a Table from a List.

I know that this is possible, but i can't find, how to make this.

Please, help me by this truble. Thank you!

[334 byte] By [Satan_Clausa] at [2007-11-26 20:29:59]
# 1
The easy way is to use a GridLayout. The better, but harder work, way is to write a custom component for it.
YAT_Archivista at 2007-7-10 1:19:23 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
And how can i use GridBagLayout. I don't understand this.When i add an Component to GridBagLayout, they are stay in a line.And i need a table... Also i must use a List, nothing more. All my app isbased on a List... Please, help me.
Satan_Clausa at 2007-7-10 1:19:23 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3

The Table component class is available in Swing, which is not available in AWT.

GridBagLayout is possible to re-work in AWT (you will have to extend and override methods in the GridBagLayout and GridBagConstraints classes).

However, GridBagLayout won't help you create something like a Table in a List, unless you want to try re-working the JTable class from Swing to work in AWT (good luck).

Your best bet is to try using a CDC VM that supports Swing-type classes, such as CreMe. I'm currently using Jeode's EVM, and it's very primitive, to say the least.

joe.coma at 2007-7-10 1:19:24 > top of Java-index,Java Mobility Forums,Java ME Technologies...