I am new to Swing. I am using Swing from Netbeans pallete.
So my concerns is that I have 2 display:
JLabelwhich is onJScrollpaneinFrameLike -Frame->JScrollPane->JPanel->JLabelJTablewhich is on a another frame LikeFrame(second) ->JTable
When I clicked on the JLabel the JTable is opened
And I will pull data from table and pass it to the text area which is in panel.
I got the value but its not getting updated in text area.
I have tried:
public void getJsonLD(JSONObject jobj){
jTextArea1.setText(jobj.toString());
jScrollPane1.revalidate();
jScrollPane1.repaint();
}