Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-02-2004, 02:37 AM   #1
Registered: Jun 2004
Location: PAKISTAN
Posts: 46

Rep: Reputation: 15
Unhappy (jwstric2) JFrame error on JAVA

jwstric2 here is the code,
for simplicity i have made a simple program.

import javax.swing.*;

public class newhello extends Jframe
public static void main(String []arg)
newhello t= new newhello();

2 errors are

--Can't find default package 'javax.swing'. Check the CLASSPATH environment variable and the access to archives.

--Super class 'Jframe' of class 'newhello' not found.

kindly solve this problem this same program is executing fine on WINDOWS
Old 07-02-2004, 03:50 AM   #2
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
Well, for one it's JFrame and not Jframe.
Old 07-02-2004, 05:10 AM   #3
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
I wasnt joking before.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
java JFrame sizes. byteframe Programming 8 10-25-2005 02:09 AM
Resizing a JFrame when JPanel resizes? 95se Programming 1 03-23-2005 04:48 PM
Java error "Exception in thread "main" java.lang.StackOverflowError" nro Programming 1 09-04-2004 03:47 AM
JAVA:(jwstric2) Problems in JAVA-LINUX nedian123 Programming 1 06-28-2004 04:12 PM
JAVA : cannot find class JFrame? OmniXBro Programming 11 06-04-2004 02:53 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration