The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

another java question by fireballmatt 2003-04-17 14:44:40
Ive got a class called 'rd2' that compiles perfectly. I need to include this in an applet.

I've got:

import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.Color;
import java.awt.Image;
import java.awt.Event;
import java.awt.MediaTracker;
import java.awt.Cursor;

import java.io.DataInputStream ;

import java.util.Vector ;
import java.util.Enumeration ;

import java.net.URL;

import rd2;

However, it aborts compiling with a "missing '.'" message on the line "import rd2;"

Any clue why?

[ Reply ]
  Hmm... by diGriz2003-04-17 14:52:18
    I've got it separate by fireballmatt2003-04-17 14:58:40
      Then you'll need to tell the compiler... by diGriz2003-04-17 15:05:29
        so if ive got by fireballmatt2003-04-17 15:09:10
          If the compiler knows where to find... by diGriz2003-04-17 15:13:47
            yeah, make sure the directory that its in by friareriner2003-04-17 15:56:00

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)