Sam Ronald

Greenhorn
+ Follow
since Aug 04, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sam Ronald

I have Out of Memory problems and tried to increase the heap size with following tags:



The problem is that it makes no difference what value I use as Xms and Xmx. I always have following memory usage at startup:

18 years ago
Is there any way to realize a drag & drop function so that the user can move objects (text files, pictures, binaries, ...) from the OS filesystem into a swing application. (eg User drags files into a java swing application)

I think about some kind of Listener/Handler which waits for a binary stream.

The application will be deployed as a Java Webstart Application.
19 years ago
I'm currently moving a webbased application from Tomcat 4 to Tomcat 5.

Tomcat: jakarta-tomcat-5.0.28
Java: j2sdk1.4.2_06
System: Linux 2.6.10 FC3

While migrating I experienced following problem when I start the application:


I start Tomcat from Eclipse with Sysdeo's Tomcat Plugin for Eclipse.

I tried to track down the problem without any result. It seems do be some kind of conflict. The Method org.apache.jasper.runtime.JspRuntimeLibrary.include is located in /tomcat5/common/lib/jasper-runtime.jar so it should be available to Tomcat. This package is also located in j2ee.jar, but I have already tried to exclude this package without any result.

Any ideas???
19 years ago
I have in a program with two JSplitPanes which contain three JLists in it. I use JSplitPanes to put those three JLists under each other in the westPanel.
The problem is that the first JList is reduced to a minimum size and it is so small that you have to make it bigger by hand if you want to read the content.
Does any of you have got an idea how to avoid this "effect"?
//Splitter in WestPanel
JSplitPane westSplitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
JSplitPane westSecondSplitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
westSplitPane.setTopComponent(projectPanel);
westSecondSplitPane.setTopComponent(userPanel);
westSecondSplitPane.setBottomComponent(userinRoomPanel);
westSplitPane.setBottomComponent(westSecondSplitPane);
westPanel.add(westSplitPane);
20 years ago