String problem
I am developing an AWT application for some handheld device and can only use AWT to develop it for perfomance and constraints as well.
So, i need to populate paired value, for example barcode and quantity into java.awt.List. As general, List only allows String as list item (list.add(String)) . However, it is very hard to have the table or column behaviour inside List. I have tried with some other AWT table but failed, mostly cannot compatible with the JVM or too slow.
I changed the font of List to Courier so that all string will be fixed length. I managed to get nice display if all barcode is equal length, but not for variable length.
Do anyone have any suggestion how to achieve the desired result using AWT? Or maybe work on getting the fixed-length whitespace to align the list item nicely?
I surfed through the NET and tried many solution before but still cannot cater for variable length (to make the application more user friendly and flexible). Hope anyone can help me with it.
Thank you.

