I have a JScrollPane with JTable that is filled from MySQL. I'm using SwingWorker to display JScrollPane while reading data from MySQL database. There is no problem with it. My question is how to add a text "Loading..." to JScrollPanel? I just want to display some message in this UI component while JTable is not filled with data from MySQL database. And I cannot find the way to do that.
Thanks in advance.