Created
January 12, 2014 13:39
-
-
Save Munken/8384702 to your computer and use it in GitHub Desktop.
ExamDetails List
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Form f = showForm("ExamDetails", null); | |
f.setLayout(new BorderLayout()); | |
DefaultListModel<StringPair> model = new DefaultListModel<StringPair>(exam.getDetails().getDetails()); | |
List lst = new List(model); | |
lst.setRenderer(new StringPairCellRenderer()); | |
f.addComponent(BorderLayout.CENTER, lst); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment