Solved

Updating JTable column name dynamically

Posted on 2004-09-23
5
306 Views
Last Modified: 2012-05-05
Hi

I would like to update column name in JTable dynamically.

Ex: I have column by name " Amount ". Based on currency selection made by user like USD or YEN or INR, my column name should change to

"Amount [USD]".

Any example would be of great help.

Thanks,
0
Comment
Question by:vibhav
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 34 total points
ID: 12135791
0
 
LVL 4

Assisted Solution

by:JK2429
JK2429 earned 33 total points
ID: 12136292
0
 
LVL 92

Assisted Solution

by:objects
objects earned 33 total points
ID: 12138640
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

809 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