Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Disable JTable columns dragging

Posted on 2003-02-20
2
Medium Priority
?
3,245 Views
Last Modified: 2012-05-04
Hi, i would like to know if there is any way to prevent the users from moving the columns? like when you drag the columns headers you can move them around. i would like to disable it.
thanks!
0
Comment
Question by:cyrustch
2 Comments
 
LVL 1

Accepted Solution

by:
membersh earned 200 total points
ID: 7991571
table.getTableHeader().setReorderingAllowed(false);
should help u...
0
 

Author Comment

by:cyrustch
ID: 7991588
Cool!
Thanks for the quick help!
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month10 days, 3 hours left to enroll

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question