swing - Java 6 and SwingUtilities2 -


com. Component within the application using sun.java.swing.SwingUtilities2. Now I understand that this class Should not be used, but it is a component inside the system that uses it.

So because it is no longer available in Java 6, I get a nosalphiffend error. How can I get this issue without upgrading the component because I still do not know that this is an option.

If you do not have any other option, then you should know that this class has swing Utiysius 2 How are you using it, and then proximity to that functionality in your own swing utisz 2? After that you can paste it into your own com.sun.java.swing package, which will overlap with the original one, and if the same class loader that loads your component, also information about SwingUtilities2 , So each other will see and your application will work.

Depending on what the component is, and whether it is used outside of SwingUtilities2, it can be quite difficult to renew it or to write it again.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -