Wrox Programmer Forums
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 17th, 2006, 01:19 AM
Friend of Wrox
Join Date: Jan 2006
Posts: 180
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via ICQ to dpkbahuguna Send a message via MSN to dpkbahuguna Send a message via Yahoo to dpkbahuguna
Default Simple Question

Hi all pls help me...

I have this source

import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
class check1 extends JFrame implements multi_TextField
    public static void main(String str[])
        new check1();

And the multi_TextField is an InterFace like:

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public interface multi_TextField
    JTextField MT = new JTextField(40);

but when i'm compiling my check1.java projram then I'm getting an
error like below:

check1:java:4: Interface multi_TextField of class check1 not found.
class check1 extends JFrame implements multi_Textf\Field

Both class filed in same directory in BIN.

someone can help any of suggession will be appriciated....

Old May 18th, 2006, 12:02 PM
Authorized User
Join Date: Apr 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts


Did you set the classpath for the JDK? Once you set the classpath pointing to the bin directory, the problem should disappear.

set CLASSPATH=absolute_bin_directory_path;%CLASSPATH%


Last edited by enjay; January 4th, 2011 at 07:24 AM..
Old May 19th, 2006, 12:05 AM
Registered User
Join Date: May 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

I don't know what you are doing for.There's no point to work out the interface.

Similar Threads
Thread Thread Starter Forum Replies Last Post
not at all simple question petergoodman XSLT 0 July 18th, 2008 08:37 AM
Very Simple Question YoungLuke C# 2 May 4th, 2007 02:23 AM
Simple Question ironchef Java GUI 0 September 14th, 2006 04:56 PM
Simple question happyheart_man Pro VB.NET 2002/2003 0 January 14th, 2004 11:38 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.