I tried:
Long.toHexString(new Long(m.eid).longValue())
but it doesnt seem to work.
m.eid is a string representing a long integer value.
Worth 500 points.
Thanks,
Rick
I have a JSP page that recieves an collection of Object, then I loop through it and populate my <table> in
jsp page , but for additional process like update,edit or delete the row of the t...
Below is one of the function in my Java program. This function fetches the HTML source code and process it then return it. However, the HTML source is very large, it contains more than 100,000...
I am getting below error message while compiling the program.
java.lang.Error: Unresolved compilation problems:
Syntax error on token "<", ( expected
Syntax error, insert ")" to comple...
hello there,
i have 3 tab pane in which i want to display different data.in the 1st and 2nd tab pane the data is displaying.but in the 3rd pane i am adding a table but it is not displaying....
If I have a class like so:
public abstract class MyClass {
public abstract myMethod();
}
Then when a class extends MyClass, must it implement myMethod?
I thought it did not, that b...
hi,
is it possible to display in foreach for arraylist
for index 2 instead of 0...ignore the first 2...is there such thing...
I have the attached java code
the database Field "CODE" type is character 2 bytes. I want to get the Ascii code of each of 2 bytes. But when I print out (System.out.println()) the Ascii Cod...
I have a text file that I need to loop through and put the data into 2 seperate arrays.
For instance the data will look like this..
Mary Jones 16
How can I tell when I reach the end of the ...
hi, yesterday i manage to solve my timestamp problem but it seems like its not working again :/
i keep getting 43672 for the diff :(
I'm using jakarta Beanutils(1.6) for copying values from one to another bean.
As the beanutils use reflections for copying the stuff every getter/setter(origin, destination) pair is called if...
I have
(a)rs.getTimestamp("lasttime") //rs == DB ResultSet
(b)current time
I want to compare whether these above two time differences are more than 24 hours or not.
what to d...
Hi,
How can you do roll over JButton with icon and text?
Basically, the button has an icon and text, but no border, and it is flat
How do you enable button border and raise the button on mo...
We are developing web application and using Spring 2.0.3 and Quartz 1.6.0 frameworks. For sometime now, we did not have any problems with Quartz scheduling the jobs. But, since recently, Quart...
when ever i open the applet pages, in my IE, as well as Netscape I got the below error ... look at the attachment.,
In my web application, I use struts and hibernate .., some times, the null pointer exceptions are occuring and it displays the error something like this, see the attached image ...
i want t...
hi helper,
I would like to create an xml file using multiple collection,
xml example:
<chart a=111 b=222>
<tag1>
<c=111 d=222>
<e=111 f=888>
</tag1>
<tag2>
...
Hi,
I have a remote user account on a Unix machine (with bash shell), and it seems the pre-installed JDK1.5 cannot find the required Apache Axis libraries even though I imported the librar...
I have Jdialog where ihave to add following components alike this
-----------------------------------------------------------------------------|
Label1 Combobox1
...
Hi,
I have used the import:
import java.util.Calendar;
in my java applet, but there appears to be some methods missing? When I try and use methods such as set() or get() i get an erro...
I have a HTML source code like this
<table border='0' width='70%'>
<tr bgcolor='#b4b4b4'>
<td width='8%' align='center'>0049</td>
<td width='20%' align='center'>0019A621C042</td>
...
Hi all
i need to call a paintComponent method() so i use repaint();
but it doesnt work.
trigger's in mouse pressed, calls pageflip method, then in a pageflip method calls paintComponent
...
Hello experts,
I am just trying to learn to use Eclipse and I have the following code snippet which works OK in NetBeans but in Eclipse I get error:-
The method format(String, Object[]) in t...
How can I check if a field has a NULL value, and if it does make it blank in the output?
Here is my code that iterates thru each record and field.
How can I change?
while (resul...