| Thread | Last Post | Replies |
|
| Smart String truncate | 20 Apr 2007 22:53 GMT | 2 |
I am trying to write a truncate method which will be able to concatenate a String based on pixel width of the string rather than the number of characters. I was trying to use the Fontmetrics object but unfortunately its abstract and get be used with the Graphics
|
| Assigning new value to Long instance | 20 Apr 2007 22:46 GMT | 3 |
in my program I have two objects pointing to a common Long instance. I want both of them being able to alter the value of the Long instance. However, a setValue function or something similiar does not seem to be part of the Long class. Is there any way to change the value of this
|
| Can anybody solve this problem | 20 Apr 2007 21:19 GMT | 5 |
I am using apache-tomcat-6.0.10. I have set the JAVA_HOME and CATALAINA_HOME correctly. When i write the URL http://localhost:8080/springapp/index.jsp on the browser i get the following error on the browser.
|
| Inverting Integer | 20 Apr 2007 21:06 GMT | 2 |
Can someone please tell me what inverting a integer is? Also what is it used for? If you have a simple example then please let me know. There is not much on the Internet regarding this subject.
|
| URLClassLoader interesting behaviour... | 20 Apr 2007 20:37 GMT | 9 |
Hello All... I am trying to load an xml file out of a jar file. In a directory I have 2 jar files, both have the same named xml file. Please read the following code:
|
| Save user data where? | 20 Apr 2007 17:20 GMT | 13 |
I wish to save some user data (editable via GUI) on a per user basis. Is there any nice mechanism in Java that puts such info into an appropriate place? If I have to do that manually, what would be a nice place to save some small files with bothering the user? Or shall I
|
| Identical Item in Cut/Copy/Paste | 20 Apr 2007 16:13 GMT | 2 |
I am having a problem with cut/copy/paste of items in a JTree. At first glance, it appears that cut/copy/paste is working, but after some inspection, it has a (serious) flaw. Here's a step-by-step description of the problem.
|
| How to use wget to get information of a jsp page | 20 Apr 2007 15:39 GMT | 6 |
I have a jsp page that takes one parameter say: http://www.a.com/a.jsp?id=1 and use different id to generate different pages, now I want to get the results from that and I use
>> wget "http://www.a.com/a.jsp?id=1" |
| Brian Harry | 20 Apr 2007 15:18 GMT | 1 |
If anyone is searching for some leisure activity, here's an idea: »Iowa developer Brian Harry, also known as "leouser" on java.net, is renowned for the bug fixes he contributed to Java SE 6, which number well into the hundreds and won him
|
| why does Sun JVM have a hard max mem limit of 93meg on 2gig pc with no setting done | 20 Apr 2007 14:54 GMT | 4 |
have a several PCs running WinXP SP2 and W2k SP2 latest patches. all have AMD or Intel chips with at least 1 gig ram. have Java applet that at times requires ~250 meg of ram. on some boxes it runs in less than 1 min on other takes over 30 mins.
|
| explain | 20 Apr 2007 14:33 GMT | 1 |
how does a servlet gets instantiated by the servlet container also its gets initialized by the object of servletConfig so how does the servlet config object gets instantiated
|
| Eclipse is extremely slow when installing plugins while disconnected | 20 Apr 2007 13:55 GMT | 6 |
The machine I'm working on is disconnected from the Internet. Whenever I try to install a plugin using "Find and Install", it is *extremely* slow. Each step in the process takes about 5 minutes. I assume Eclipse is trying to connect to the Internet and making me wait
|
| Netbeans 4.1 no code completion, no go to declaration etc | 20 Apr 2007 13:28 GMT | 2 |
I wonder if you know how to solve this problem, everytime I use Netbeans and try to invoque code completion or do Alt+G to go to a declaration it doesnt work, I dont get a notification but i can see this on an error indicator on the bottom
|
| Exception in thread "main" java.lang.NoClassDefFoundError: sampl | 20 Apr 2007 13:20 GMT | 4 |
Hi, I know this is a common error, but this occurs only in some of my programs. I run java on windows XP SP2, jdk1.5 My sampl.java file is like this:
|
| applicability of static methods in web applications? | 20 Apr 2007 13:14 GMT | 14 |
For my project, I see that some people use static methods for the web-application in DB layer. eg: public static List getId(){
|