Skip to content

Commit

Permalink
Update ActionTable.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
acharneski committed Dec 22, 2023
1 parent 5fc02f0 commit 9968051
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ class ActionTable(
val panel = JPanel(VerticalFlowLayout(VerticalFlowLayout.TOP))
val classnameField = JTextField(100)
classnameField.text = dataModel.getValueAt(selectedRowIndex, 2).toString()
panel.add(with(JPanel(HorizontalLayout(2))) {
panel.add(with(JPanel(HorizontalLayout(2, 0))) {
add(JLabel("New class name:"))
add(classnameField)
this
})
val displayField = JTextField(100)
displayField.text = dataModel.getValueAt(selectedRowIndex, 1).toString()
panel.add(with(JPanel(HorizontalLayout(2))) {
panel.add(with(JPanel(HorizontalLayout(2,0))) {
add(JLabel("New description:"))
add(displayField)
this
Expand Down

0 comments on commit 9968051

Please sign in to comment.