diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-03-28 00:20:42 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-03-28 13:19:21 -0500 |
commit | e744c37ab1510f87ed4b5b3eafeb3758f1d0e30f (patch) | |
tree | 53717ceb6a2581a5a4f70ee16c40265e1ce8399e /base/common | |
parent | 3b65ec9bbf7fcfb69d5a9b0d59148a587cd32c49 (diff) | |
download | pki-e744c37ab1510f87ed4b5b3eafeb3758f1d0e30f.tar.gz pki-e744c37ab1510f87ed4b5b3eafeb3758f1d0e30f.tar.xz pki-e744c37ab1510f87ed4b5b3eafeb3758f1d0e30f.zip |
Replaced deprecated JTable.createScrollPaneForTable().
The deprecated createScrollPaneForTable() method in JTable() has been
replaced with JScrollPane() constructor.
Ticket #3
Diffstat (limited to 'base/common')
-rw-r--r-- | base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java b/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java index 246e6d96f..9e9d9fc6c 100644 --- a/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java +++ b/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java @@ -116,7 +116,7 @@ public class ProfileSubsystem extends Frame implements ISubsystem, Runnable { updateThreadPanel(); mThreadTable = new JTable(mThreadModel); // table.setEditable(false); - mThreads = JTable.createScrollPaneForTable(mThreadTable); + mThreads = new JScrollPane(mThreadTable); tabPane.addTab("Threads", mThreads); mThreadTable.addMouseListener(new ThreadTableEvent(mThreadTable)); |