Solved

Updating JTable column name dynamically

Posted on 2004-09-23
5
313 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
eclipse apache tomcat admin console 52 123
type mismatch (Object[] to double[] 4 33
how to install java on RHEL image on EC2 4 41
spring maven example issues 3 13
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…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
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…

820 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