Search:
Type: Posts; User: hitai
Search:
Search took 0.07 seconds.
-
I have no problem with the JWS application whether it uses a signed JAR or not but a problem will happen when a web application that runs in a servlet container uses a signed JAR
-
This is what I have so far.
I have a web application with servlets and JSP etc packaged in to a WAR file, let`s call it webApp.war.
Next is have a Java Web Start App, let`s just call it...
-
Ok, thanks for the tip. There wasn`t any explicit examples about making a scrollable cell but I think I get the idea of what I should do. Guess it`s about toying around with the UI
-
I have a JTable. In this JTable, there are cell where the text span several lines. I tried implementing a cell renderer which uses a JTextArea inside a JScrollPane. Of course this did not work.
...
-
November 13th, 2008, 01:28 AM
I have a thread that is specifically for receiving DatagramPacket. As usual, I make a call to DatagramSocket.receive . DatagramSocket.receive is placed inside an infinate loop. Once a packet is...
-
October 10th, 2008, 03:25 AM
Ok...thanks for the insight. I did think of this method, but was hoping for a more elegant way.
-
October 9th, 2008, 09:23 PM
I understand that one can set state icons for JCheckBoxes. However I just want to set an accompanying icon for the label of the JCheckBox. The icon is not for showing state but just decorative. I...
-
August 22nd, 2008, 04:16 AM
I`m trying to create PDF documents from my Java application. Of course, I do not know how. I did look around the web, but most information that I find is about using a third party component to...
-
July 31st, 2008, 01:48 AM
It seems that the servlet has already URL decoded the parameter when i call
request.getParameter ( "p1" ) ;
However, the servlet did not use UTF-8 to decode the parameter because I got back 3...
-
July 29th, 2008, 10:25 PM
This is the URL that I use to invoke my servlet from my applet
http://192.168.0.67/MyServlet?p1=団
As you can see, the parameter has a unicode character 団. So I use
URLEncoder.encode (...
-
Yes, in fact nothing at all is painted in the ProgressMonitor dialog. The only thing of the dialog that appears is the title bar and borders of the dialog. The dialog can stil be dragged and moved...
-
In my program i execute several sql SELECT statements at once to retrive large amounts of data. This of course is a very time consuming process, so i use a ProgressMonitor to track it`s progress. The...
-
I`ve created a custum tree model by implementing the TreeModel interface. I use an ArrayList to store the nodes of the tree. So far the tree loads properly. However when i add nodes to the TreeModel...
-
March 30th, 2008, 08:47 PM
Hmmm....guess not. Tho it`s hard to believe
-
March 30th, 2008, 08:18 PM
So it seems that ther is no way to hide ONLY the close button. How sad...guess i`ll just hav to resort to other options
-
March 28th, 2008, 07:12 AM
When a JFrame (in Windows XP) is created, it will hav a minimise button, a maximise button and a close button at the top right, right....
I would like to know if there is a way to hide any of...
-
March 27th, 2008, 12:15 AM
In an ASP.NET application, their is an event which is called when the web app is started. The programmer can put initialisation code for the entire web app in this event
Is there a similar thing...
-
March 12th, 2008, 09:37 PM
I`m writing a stored procedure in MySql and was wondering if i can save/cache the result set i get from a SELECT statement (in a variable or something) for reuse again in another query in the same...
-
March 11th, 2008, 10:21 PM
Simply because the users want a node to be selected only when it is double clicked.
-
March 9th, 2008, 11:36 PM
Thanks for trying to help. I managed to handle the mouse events for the JTree but just can`t find a way to stop a node from getting selected when it is clicked once.
-
March 8th, 2008, 11:32 PM
So i assume that this is something that cannot be done huh?
-
March 7th, 2008, 02:28 AM
By default, a node in the JTree gets selected when the user click once on the node causing the valueChanged event to fire. How can I have a node selected ONLY when it is double clicked?
-
March 2nd, 2008, 07:11 AM
System.out.print ( s.split ( "\団" , 3 ) ) ;
This worked!!! :confused:
-
February 28th, 2008, 08:45 PM
I`m using JDBC to connect to MySql. From my java code, I inserd new rows into the data table using INSERT statements. How can I get back the new inserted row? I`m leaving the fields to have their...
-
February 27th, 2008, 02:32 AM
String s = "1団2団3" ;
System.out.print ( s.split ( "団" , 3 ) ) ;
The output of the above code will be 1団2団3.
Why is it that String.split does not work with non ASCII characters. When I replace...
|
Click Here to Expand Forum to Full Width
|