| Thread | Last Post | Replies |
|
| newbie - java beans | 22 Dec 2004 11:01 GMT | 1 |
I am trying to run my first simple bean and I am using the following code **** BeanTest.jsp **** <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
| How to combine this code in on main class? | 22 Dec 2004 02:39 GMT | 4 |
Is it really nescessary to use two classes to write this code: class OddEven { public void printEven(int a)
|
| JavaMail - Insert some html from a file | 21 Dec 2004 23:10 GMT | 1 |
I'm developing some code that uses the JavaMail API to send an email. I'd like the body to contain HTML, specified in a file. I'm familiar with the setContent() method that accepts a string, but how would I achieve the same result with the contents of a file? I have to admit,
|
| rounding | 21 Dec 2004 22:28 GMT | 4 |
I am attempting to round a number (float) to 2 decimal digits in java. How is this possible? Thanks, --
|
| where is flush() implemented? | 21 Dec 2004 21:22 GMT | 4 |
help me understand this. Image is and abstract class that define's a method called flush(). But where is flush() implemented? Image img = Toolkit.getDefaultToolkit().getImage("pic.jpg"); img.flush();
|
| Confused about simple package concepts | 21 Dec 2004 19:27 GMT | 5 |
I'm new to Java. I'm not finding the language difficult, but I'm not getting the package scheme. 1) file Jeff1.java:
|
| JSP code | 21 Dec 2004 13:21 GMT | 2 |
I have the following code <html> <head> <title>
|
| round | 21 Dec 2004 13:05 GMT | 2 |
I have double and i want to round and then disply it to 3 positions ater comma for example: 4.123456 -> 4.123. I only found java.lang.Math.round but i can not specify to 'which' position should i round my double...
|
| Code don't terminate | 21 Dec 2004 12:28 GMT | 5 |
The following code checks if the 10th char in a string equals R and if the chars from position 4 through 7 is a number larger than 2000. If that is the case the string is an invalid productcode. But when I run the code with eg. "TRV2475R-14" it does not terminate! And I
|
| getGraphics() not valid | 21 Dec 2004 08:12 GMT | 1 |
On windows XP, I have a servlet in which ToolkitImage calls getGraphics(). The error below always occurs: java.lang.UnsupportedOperationException: getGraphics() not valid for
|
| Java Applet Parameter Limit | 21 Dec 2004 00:47 GMT | 5 |
I would like to know the maximum number of parameters that can be passed to an applet. While I think there is no theoretical maximum, I believe there to be a practical limitation for browsers. I am using winXP, IE6 and firefox1, and jre1.4.2.
|
| Regular Expressions | 20 Dec 2004 23:44 GMT | 5 |
I have been really struggling with regular expressions, can anyone tell me how I would split up a string around the spaces and newlines. Basically I want every word to be put into a string array but not the spaces (which is what I am getting now).
|
| number fraction digits | 20 Dec 2004 18:13 GMT | 1 |
i have this script public static void main(String[] args) { double[] lijst = {1.3444,4.6444}; printDoublearray(lijst);
|
| Having Trouble Understanding Hashtable Class | 20 Dec 2004 12:18 GMT | 5 |
The following program is suppossed to compare two lists for spelling errrors. One list is the list spelling used to compare to the master list. This list has some words spelled correctly and some incorrectly and in the program that followis is denoted
|
| J2ME BLUETOOTH TELEPHONE | 20 Dec 2004 12:13 GMT | 3 |
hi to everyone I would like to realize a voice connection trought two mobile phones that have the j2me and bluetooth.... I don't want the code and not the algoritm, I would like only some advices where find documentation about this subject....
|