• Post Reply Bookmark Topic Watch Topic
  • New Topic

java swing in JBuilder  RSS feed

 
Ian Beckley
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a servlet in JBuilder and I'm trying to use the JOptionPane to return some values. In NetBeans this works fine, but in JBuilder it recognizes the com.sun.java.swing.* import as I type it in, but when I'm finished I get an error that package com.sun.java.swing does not exist at line 7. I'm new to java and JBuilder so I am really stumped here. Any ideas?
 
Ian Beckley
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind, I figured it out. import javax.swing.* I hate being a newbie!!
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to rethink your program anyway.

Servlets + Swing = NO GO!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!