I am working on simulation and i need to display data to TextArea or JTable, that is generating continuously at run time.
----------------------------simulation class----------------
Class Simulation()
{
when Nubmer Generate
call method ' updateData' in Frame Class to upload on JTextArea.
}
-----------------------------------frame class---------------
Class JFrame()
{
Method updateData(string data)
{
jTextArea1.append(data);
}
thanks in advance for helping me..