Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!

Chris Beihl

+ Follow
since Jan 02, 2007
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Chris Beihl

I've found that whenever I use html tags within a JLabel, it will wordwrap when resized, but when using a JLabel without html and it is resized to smaller than its preferred size it cuts off the end and add an ellipsis "...".

If you are using html tags and your JLabel is still not word wrapped I suspect that your layout manager is not resizing the JLabel below its preferred size. Some layout managers resize the components and some just clip the edges off.
10 years ago
To find out your classpath of the run profile you launched :

1. pull up the run dialog ( Run -> Run... )
2. click on the run profile you are using
3. click the Classpath tab
4. look under User entries

Good luck
11 years ago
I tried to run your code sample but there are several unresolved types :

Without those other classes its difficult to run your example...
Usually that error comes up when one of the VMs cannot find a class it needs to unmarshall the serialized data. Are you running both VMs on the same machine? If not, you probably don't want to use a CODEBASE with a file URI.

RMI looks in the VM classpath first then checks the CODEBASE.

Double check the runtime classpaths for both VMs and make sure that all the classes you pass between the two VMs are present ( don't forget classes that are referenced inside other classes ).
11 years ago