• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

javax.Swing or java.Swing ? ? ? ?

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using VisualAge 2.0 and am trying to use the JCalendar from
http://www.toedter.com/en/jcalendar/index.html
however.. this javaBean requires the Swing components, and says "the SuperClass javax.Swing.JPanel can not be found".... however I use the JPanel and many other Swing components in my application... but when I reference the JPanel bean in my application.... its referenced as com.sun.Java.Swing .
I have the JDK 1.3.1_02
Do the java gods just hate me?
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try use
import javax.swing.*;
just "swing" - "s" must be lower case
 
Brett Swift
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
lol...
well ...you're soon to get a notice from one of the admin to change your name.
and second of all...the bean i am using is importing javax.swing.
but thanks for puttin in the effort.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic