Hi all,
I have this weird problem with Jspinners when I try to run this code. When I run it, the second spinner shows the date (while the first one only shows the time) and they are both larger than they are supposed to be (try resizing after it shows up)
Any help would be greatly appreciated...
Hi guys,
I am trying to create a JSpinner with the following format HH:MM but it is not working. The spinner keeps displaying both the date and the time. Can somebody tell me what's wrong with my code? I would really appreciate it ...
Hi everybody,
I have the following code:
SimpleDateFormat format = new SimpleDateFormat("MM/dd/yyyy");
format.setLenient(false);
JFormattedTextField ftf = new JFormattedTextField(format);
Now I am trying to write a class that extends JFormattedTextField and translate the code above...
Hi,
I have this problem with the code below using JFormattedTextField with SimpleDateFormat. I can't insert a 1 on the month field or a 3 on the day field.
Thanks for your help!
///////////////////////////////////////////////////////////////////////
import java.awt.*;
import java.text.*...
Hi everyone,
I am trying to create a panel with a gridbaglayout with N number of columns which would all have the same width no matter what the size of the components inside are. Basically, i would like the gridbaglayout to act like gridlayout and therefore no resize. Is this possible?
Thanks...
Hi all,
I have a JFrame that implements Runnable. This creates a thread that does some work, While it is doing the work, I would like the JFrame/Thread to wait. The problem is that the JFrame just freezes. I tried multiple things Thread.join, Thread.wait, monitor with synchronized method...
hi all,
i have an applet, a JFrame that has pictures in it. I use the Applet.getImage() method but the applet doesn't load the pictures. The pictures are stored on the web server that is running the applet.
I read the posts about my problem and I don't think I need to sign my applet because...
thanks Mithrilhall, but it didnot work ...
I still get the missing subscript error
--------------------Configuration: test - Win32 Debug--------------------
Compiling...
test.c
E:\Documents and Settings\hroussel\Desktop\test.c(4) : error C2087: '<Unknown>' : missing subscript
Error executing...
hi guys!
i was wondering if somebody could paste the code of a function that prints out all the values of a 2dimensional array. i keep getting a missing subscript compilation error.
the equivalent for a one dimensional array would be:
/* code starts here */
void print_array(int array [], int...
It half worked:
I jared from the directory com and set the classpath.
I use Visual J++ and when I import the package, it seems to see it because it gives me its selection.
However when I compile, it is still giving me the error that the package com.me doesn't exist ....
Thanks Vepo.
%jar cvf ownPackage.jar com\me\MyClass\*.class
but what if I have:
com\me\MyClasscom\me\MyOtherClass
is there a way to jar both directories?
Thanks again.
Hi guys,
I am trying to create a package, jar so that I can reuse it later.
- This is my package
/* START OF CODE */
package com.me.MyClass;
public class MyClass {
public void myMethod() {
/* ... */
}
}
/* END OF CODE */
- I compile it using
% javac -d c:\jdk1.3\jre\classes MyClass.java...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.