Article View: borland.public.jbuilder.java.swing
Article #9567Re: Java - Date picker bean
From: Tom Corcoran
Date: Tue, 29 Feb 2000 00:00
Date: Tue, 29 Feb 2000 00:00
39 lines
2259 bytes
2259 bytes
David - I am having trouble implementing this. I have the following code:
import javax.swing.*;
import java.awt.*;
import mseries.*;
public class LabelSample {
public static void main(String args[]) {
String title = (args.length==0 ? "JLabel Sample" : args[0]);
JFrame frame = new ExitableJFrame(title);
Container content = frame.getContentPane();
content.setLayout(new GridLayout(2, 2));
MDateSelector popup;
popup = new MDateSelector();
frame.setSize(300, 200);
frame.setVisible(true);
}
}
The compiler report is:
LabelSample.java:25: Class MDateSelector not found.
MDateSelector popup;
^
LabelSample.java:26: Class MDateSelector not found.
popup = new MDateSelector();
^
2 errors
I have added MDateSelector.jar to my classpath and it is available in the
popup list of classes after I type 'new '
Do you know what I'm doing wrong or better yet do you have sample code of a
working example using the jar?
Thanks
Tom
Technical Details
Message-ID:
<QMNu4.1627$762.1216@news.indigo.ie>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<Yfsu4.1421$762.1023@news.indigo.ie> <bt2lbski3cgb34cubb69u3jn4eh09ju2g7@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e091cc39eaef85f9 X-Google-Attributes: gid111d45,public X-Google-Thread: 111d6b,e091cc39eaef85f9 X-Google-Attributes: gid111d6b,public X-Google-Thread: fecd1,e091cc39eaef85f9 X-Google-Attributes: gidfecd1,public X-Google-Thread: f5d71,e091cc39eaef85f9 X-Google-Attributes: gidf5d71,public X-Google-Thread: 10fd6d,e091cc39eaef85f9 X-Google-Attributes: gid10fd6d,public X-Google-Thread: 10a146,e091cc39eaef85f9 X-Google-Attributes: gid10a146,public From: "Tom Corcoran" <tom_corc@hotmail.com> Subject: Re: Java - Date picker bean Date: 2000/02/29 Message-ID: <QMNu4.1627$762.1216@news.indigo.ie> X-Deja-AN: 591259185 References: <Yfsu4.1421$762.1023@news.indigo.ie> <bt2lbski3cgb34cubb69u3jn4eh09ju2g7@4ax.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: news@indigo.ie X-Trace: news.indigo.ie 951822512 194.125.172.230 (Tue, 29 Feb 2000 11:08:32 BST) Organization: Indigo NNTP-Posting-Date: Tue, 29 Feb 2000 11:08:32 BST Newsgroups: borland.public.jbuilder.java.swing,comp.lang.java,comp.lang.java.api,comp.lang.java.gui,comp.lang.java.misc,comp.lang.java.programmer