Hey,
Is JDBC Thread-safe? Or is it down to the actual database you use? I'm using Access . . .
Rob.
Hi,
One day, I intend to animate a 3D character (make him run, etc.). Now, I can load 3D meshes into my programs, but I don't know how to animate these characters completely.. I can move th...
I need to make a JSpinner for the time only in the format hh:mm am/pm
I though it would be simple, but I haven't been able to do it yet.
I even tried to create my own with a JFormattedTe...
I'm just getting started with Java and the Spring framework. When I try to compile a file that uses Spring, I get errors stating that the compiler cannot find the symbol ClassPathXmlApplicati...
I have a JTextPane with a HTMLEditorKit;
public class MyEditorPane extends JTextPane implements Runnable
This is an editable area where users are entering some text, images, sounds etc.....
I did some modifcations to the java.awt.AWTEvent class and recompiled them. after i inserted them in the rt.jar package, it did what it had to do. now i'm wondering, can i use my own version o...
I want to burn CD from a Java Swing GUI on Windows platform. How to do this? Is there any Java API for accessing Windows CD burning commands.
I tried to parse the xml data and the input file consists of ![CDATA[ thus the SAX not able to retrieve the data within ![CDATA[
Do I need to extract the ![CDATA[ before feeding into the SA...
I'm trying to access a dll file via JNI. When I run the standard DOS prompt and arguments, it runs fine, returning the results I need.
I then adapt part of the Java code to input it into a...
Hello Experts,
We just launched a new server and we are having a lot of performance related problems. We have the following environment.
uname -a
SunOS behemoth 5.9 Generic sun4u sparc ...
Dear Experts,
As per the following link, there are pack200.exe and unpack200.exe. I believe it is not available in JRE1.5 Beta.
http://java.sun.com/j2se/1.5.0/docs/guide/deployment/depl...
Hello experts,
I need some help with Java encryption. I have a sessionId stored/retrieved locally (by a Java client).
SessionId is stored as plain text. Since this sessionId is persistent ...
hi,
just a quick question. if for example i move a mouse to a certain position using ajav.awt.Robot.
can i get the mouse position? without using frames or applets? so just the mouse coordin...
After the user has entered a value into a column that value is not saved in the table model until that cell has lost focus. This is a hassle for the user, who is forced to click off of the ce...
Can anyone provide a solution to this:
Write an expandable array like java.util.vector.
The code should contain:
private Object[];
purblic void add(Object o);
public int size();...
Hi,
I'm trying to store an Enumeration in a Struts action such that its repeatedly available to a JSP (in order to reduce db access).
However, the Enumeration only appears to be availabl...
This question is a two part. First is we are trying to syntax highlighting to a text editor. The class we are using is listed below. This code works when we are creating a new file. However wh...
I'm struggling with this one so any ideas at all are welcome.
I've written some J2ME code for uploading files to an ftp server. I do all the logging in, navigating directories etc then tr...
I'm working on program for transmitting and receiving audio through RTP in local machine, but the program doesn't receive the data. It never goes into update(ReceiveStreamEvent event). The fo...
Hi ,
I have a very simple MQSeries application which instantiates QueueManager and then puts the message in the queue. I have placed the jar in the path.
My class compiles but when I run the...
i've got 2 classes:
public interface Constants {
public static final int MAX_LIGHTS = 10;
public static final int MAX_SOLIDS = 100;
static Vector Eye = new Vector...
I have developed a small Midlet with the SUN J2ME Wireless Toolkit. I want to open the system browser with the platformRequest -method, but cannot compile. Code is:
if (c == openCommand) {...
I'm painting on a JPanel by subclassing it and using PaintComponent(Graphics g). I'm putting the JPanel in a JScrollPane that is smaller than the panel, and when I repaint the panel, I can se...
HELLO
When I want to change the default data source name; I should :
go to "MS ODBC" then
to "DSN File".
How can I change the default dataSource from my java 'JDBC' application au...
Hi
I am writing a perl script which is to be invoked from a CRON scheduler in LINUX.
The script will run a java applcation which as the necessary classes to process 2 parameters passed b...