LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 07-02-2004, 03:37 AM   #1
nedian123
Member
 
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();
t.setVisible(true);
}
}

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, 04:50 AM   #2
coolman0stress
Member
 
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, 06:10 AM   #3
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
I wasnt joking before.
http://www.linuxquestions.org/questi...ghlight=Jframe
 
  


Reply


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 03:09 AM
Resizing a JFrame when JPanel resizes? 95se Programming 1 03-23-2005 05:48 PM
Java error "Exception in thread "main" java.lang.StackOverflowError" nro Programming 1 09-04-2004 04:47 AM
JAVA:(jwstric2) Problems in JAVA-LINUX nedian123 Programming 1 06-28-2004 05:12 PM
JAVA : cannot find class JFrame? OmniXBro Programming 11 06-04-2004 03:53 AM


All times are GMT -5. The time now is 06:30 AM.

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