------------------------- ...
Posted by admin on 25 Sep 2008 at 10:41 PM
$5.00
-------------------------
Followup To
Question -
Thanks for your kind reply.
But Sir I am using version 1.3 of JDK. I guess there is no such method setDragEnabled in JTable for this version.
Also, how to save column setting.
Thanks,
Sandip
Dear Sir,
Please give an example in java to drag and drop one row in a jtable to another location in the jtable and also to another location of another table.
I allow reordering of columns in JTable , I want to save columns order when user want to save settings. how to achieve this.
I am appreciating who will be reply and give me the solution of this problem.
Regards,
Sandip Prajapati
Answer -
it sounds like the default drag and drop that java provides is enough for you.
Just use:
table.setDragEnabled(true);
see: http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html
for a tutorial
Followup To
Question -
Thanks for your kind reply.
But Sir I am using version 1.3 of JDK. I guess there is no such method setDragEnabled in JTable for this version.
Also, how to save column setting.
Thanks,
Sandip
Dear Sir,
Please give an example in java to drag and drop one row in a jtable to another location in the jtable and also to another location of another table.
I allow reordering of columns in JTable , I want to save columns order when user want to save settings. how to achieve this.
I am appreciating who will be reply and give me the solution of this problem.
Regards,
Sandip Prajapati
Answer -
it sounds like the default drag and drop that java provides is enough for you.
Just use:
table.setDragEnabled(true);
see: http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html
for a tutorial
Ask a Question
Most Recent Questions
Most Recent Answers
Home Page
Login
Register
Information Technology
Programming Languages
- ASP and ASP.NET
- Assembly and Machine Lang
- C and C++
- C#
- Carbon (Macintosh)
- Cold Fusion
- Delphi
- Flash
- FoxPro
- HTML and XHTML
- Java
- Javascript and JScript
- JSP
- Perl
- PHP
- Python
- Ruby on Rails
- VB, VBA, and VB.NET
- VBScript
- XML and XSL
Database
Graphic Design
Operating Platforms
Hardware and Networking
Math and Science
Biology and Geology
Math and Statistics
Chemistry
Physics
Engineering

Are you an information
Most Recent Questions
Most Recent Answers
Home Page
Login
Register
Information Technology
Software, Hardware, Design
Programming Languages- ASP and ASP.NET
- Assembly and Machine Lang
- C and C++
- C#
- Carbon (Macintosh)
- Cold Fusion
- Delphi
- Flash
- FoxPro
- HTML and XHTML
- Java
- Javascript and JScript
- JSP
- Perl
- PHP
- Python
- Ruby on Rails
- VB, VBA, and VB.NET
- VBScript
- XML and XSL
Database
Graphic Design
Operating Platforms
Hardware and Networking
Math and Science
Homework Help
Biology and GeologyMath and Statistics
Chemistry
Physics
Engineering
Are you an information
technology or
math/science expert?
You can earn money by
providing answers to questions
at AnswerArchive.com.
Learn How