Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2516

Re: include another java

From "tar" <tar@THRWHITE.remove-dii-this>
Subject Re: include another java
Message-ID <ymitzpn6g7x.fsf@blackcat.isi.edu> (permalink)
Newsgroups comp.lang.java.gui
References <1190317192.053320.309220@19g2000hsx.googlegroups.com>
Date 2011-04-27 15:39 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui

moongeegee <moongeegee@gmail.com> writes:

> I use import TableTest1 in my TableDemo.java file. But I got compiling
> error as below.
> 
> TableDemo.java:5: '.' expected
> import TableTest1;
>                   ^

Import is only needed for classes defined in other Java Packages.  It
deals with package visibility in your file.  Eliminate the import statement.

-- 
Thomas A. Russ,  USC/Information Sciences Institute

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

include another java file "moongeegee" <moongeegee@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
  Re: include another java "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
  Re: include another java "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
    Re: include another java "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
  Re: include another java "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000

csiph-web