python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Suppose I have a table, made using Swing, and I put it in a frame. How to set the frame dimensions to be table dimensions?
So here is the basic code that I have written.
public static void main(String[] args) {
Object[][] list_of = {
{"Chirag", "21", "Blue"},
{&quo...
Chirag S P
Votes: 0
Answers: 1
How to stop the data doubling in jTable after clicking on button?
i'm having this problem where my data shows onclick, but then when i click again it just doubles. Even after i add new data to the table.
private void ShowBtnActionPerformed(java.awt.event.ActionE...
Empyr
Votes: 0
Answers: 1
JTable auto row sorter index of sorting column
I'm trying to make a custom row header renderer, to change the color of the header to for example red, of the column that's table is sorted by. this part I managed by renderer from this tutorial JTabl...

Rjelinek
Votes: 0
Answers: 0
Why isn't the JTable resizing properly?
Why isn't the JTable resizing properly?
Hello and thanks for taking the time to deal with my problem. First let me introduce you to my dummy-/training-project. The classes listed below should represen...
CodeScrub
Votes: 0
Answers: 1