| Thread | Last Post | Replies |
|
| Class.getMethod in class's static initializer block | 02 Aug 2007 13:22 GMT | 14 |
If I call A.class.getMethod() from static initializer block of class A, I get NoSuchMethodException. Example: class A {
|
| Insert picture in MySQL using JDBC | 02 Aug 2007 12:52 GMT | 7 |
I'm working on a project using Netbeans IDE 5.5 with Visual Web Pack and MySQL as its database. The project is about displaying the information about an item selected by a user from a drop-down list.
|
| subclipse svn locks gui | 02 Aug 2007 05:05 GMT | 2 |
We are using subeclipse plugin to access subversion server to manage all development source code. When I try to commit the change, it gives you commit dialog with "keep locks" so that after comitting you can still keep your source
|
| Which can I use to export data to pdf or excel? | 02 Aug 2007 04:43 GMT | 3 |
I am currently doing a JSP/Servlet program which requires to export data to pdf or excel. My programming environment is eclipse & tomcat server. As far as I know to export data to excel or pdf Jasper report or B.I.R.T. are available. But I am not familiar with Jasper report or
|
| Discussion of why java.lang.Number does not implement Comparable | 02 Aug 2007 03:24 GMT | 42 |
So, I have read the SDN entry of why Number does not implement Comparable http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4414323 And while I agree with their thinking I disagree with their approach.
|
| Why don't characters in a file get overwritten? | 01 Aug 2007 21:25 GMT | 2 |
1) FileOutputStream f = new FileOutputStream ( "E:/A.txt" ); OutputStreamWriter f1 = new OutputStreamWriter ( f, "unicode" ); BufferedWriter f2 =new BufferedWriter ( f1 );
|
| What does ZipEntry object represent (contain)? A whole file, including actual data or...? | 01 Aug 2007 20:56 GMT | 2 |
1) Does ZipEntry object represent the whole file ( including actual data written in a file ) or does it contain just a description of a file ( name of the file, its length etc ), but not actual data?
|
| Updating JTree When Adding Nodes | 01 Aug 2007 19:36 GMT | 2 |
I'm having an issue updating my JTree when I add a node to the tree. When I add to the JTree directly, I do the following (this method is in my class that extends JTree) public void addNode(DataModel parent, DataModel newChild) {
|
| Dynamic variables | 01 Aug 2007 19:29 GMT | 2 |
Hi, I am trying to loop through 81 text boxes each time reading the text from the box and placing it in a 2d array. My code below shows it doing just the first line so only 9 text boxes private void jButton1_actionPerformed(ActionEvent e) {
|
| how to use the Invoker Servlet in tomcat 6 | 01 Aug 2007 17:59 GMT | 1 |
I am trying to turn on the invoker servlet on Tomcat 6.0.13. I have tried uncommenting invoker servlet mapping <servlet> <servlet-name>invoker</servlet-name>
|
| org.apache.axis cannot be resolved to a type, Syntax error on token "enum", class expected | 01 Aug 2007 17:34 GMT | 5 |
Please review the following fragment: org.apache.axis.description.OperationDesc oper; oper = new org.apache.axis.description.OperationDesc(); oper.setStyle(org.apache.axis.enum.Style.RPC); // fails to
|
| Generate serialVersionUID in Eclipse for serializable object | 01 Aug 2007 12:50 GMT | 7 |
When it's a good time to generate this serialVersionUID (say in Eclipse)? - In the very beginning when creating this object class? and never need to change again?
|
| Wrapper Serialization with primitive field | 01 Aug 2007 12:04 GMT | 4 |
What's the advantage or disadvantage for having a wrapper to contain primitive private member (i.e. private int count; // inside public class Wrapper)? Or is it better to not use primitive inside a serializable wrapper
|
| For-loop optimization question | 01 Aug 2007 10:08 GMT | 5 |
This may seem like a pretty simple question, but one that I'm curious about. I have 2 nested for-loops in my code, and want to know which is the best (fastest) way to organize them: OPTION 1:
|
| AWT tutorial | 01 Aug 2007 08:21 GMT | 6 |
I found this tutorial, on sun page, but it seems to be obsolate: http://java.sun.com/developer/onlineTraining/awt/contents.html All the links from it are EOL (end of life), besides on the bottom of that it says Copyright 1996-2000,
|