From 52476e6bd08679d03109edf05b811592e968e8b7 Mon Sep 17 00:00:00 2001 From: j-dimension Date: Thu, 1 Aug 2024 16:46:26 +0200 Subject: [PATCH] prevent reordering of columns in account entries table --- .../jlawyer/client/editors/files/ArchiveFilePanel.form | 2 +- .../jlawyer/client/editors/files/ArchiveFilePanel.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.form b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.form index 7c6965e04..0455a48ae 100755 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.form +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.form @@ -1936,7 +1936,7 @@ - + diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java index 0d7f96b41..5a8d4f91f 100755 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java @@ -2999,6 +2999,7 @@ public boolean isCellEditable(int rowIndex, int columnIndex) { } }); tblAccountEntries.setShowGrid(false); + tblAccountEntries.getTableHeader().setReorderingAllowed(false); tblAccountEntries.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { tblAccountEntriesMouseClicked(evt);