0

I think I am having a weird problem:

I 've written a small application in java implementing a JTable to display some results. I am also using the Substance L&F as my "skin". Everything seems to be working perfectly.

When I upload the app on my server as webstart, strange things start to happen:

At some point my app generates a little JTable. Every time I mouse over that table, the app's JButtons or menus or any swing control in general will stop responding. My only option is to close the window and restart the application. Note that the interface seems not to be frozen but like it's lost its focus... if I try to click in any of the table's cells, the UI will still be responsive (not on the swing controls though).

If I get rid of Substance, the problem goes off and everything is working normally again. If I use another "skin" like JTattoo everything works flawlessly as well.

This only happens when I use the webstart. Does anybody know why..?

or better has any hints on how to fix it?

kleopatra
  • 49,346
  • 26
  • 88
  • 189
kstratis
  • 6,429
  • 9
  • 39
  • 80
  • What version of substance are you using? I know there are some bugs relating to using tables as table cell renderers that have been fixed in more recent versions and forks. – shemnon May 06 '11 at 15:49
  • Sorry for the late responce. I am not quite sure about the version number but it was taken off kirillcool's github. Should normally be the latest version cause I initially used it around February 2011 and github states December 2010 as the latest modification date. Any clues on how I should go about it? – kstratis May 14 '11 at 20:30
  • Use my insubstantial fork: http://github.com/insubstantial/insubstantial - it has some table renderer bugs fixed in it. – shemnon May 18 '11 at 15:48
  • Using the insubstantial the app won't even start when launched from within firefox..!any clues..? – kstratis May 30 '11 at 14:58
  • Do you know exactly what files I need for insubstantial to work..? – kstratis May 30 '11 at 14:59
  • Insubstantial is a maven release, so you should put the co-ordinates in your pom or use ivy. Here's what mvnrepository says the dependencies are: http://mvnrepository.com/artifact/com.github.insubstantial/substance/6.2 – shemnon Jun 08 '11 at 15:21
  • The problem is that I dont know how to use maven..!I just need to put your jar file in my path and test it out..! It's working but when launched as a java web start app, my program refuses to launch..! – kstratis Jun 08 '11 at 18:43
  • Did you try to enable the console and see if an exception is thrown? – Emmanuel Bourg Nov 07 '11 at 18:23

0 Answers0