- val title = new Label("Report date") {
- horizontalAlignment = Alignment.Leading
- }
- layout(title) = BorderPanel.Position.North
-
- val scroll = new ScrollPane {
- horizontalScrollBarPolicy = ScrollPane.BarPolicy.Never
- verticalScrollBarPolicy = ScrollPane.BarPolicy.Always
- contents = new ListView[String] {
- // FIXME
- // listData =
- }
- }
+ border = BorderFactory.createEmptyBorder(5, 5, 5, 5)
+
+ val scroll = new ScrollPane(
+ new Table() {
+ peer.setModel(reportSet)
+ })