The import java.awt is never used

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/18 11:36:21
The import java.awt is never used
x) HU-/*QJ,KK,/Q,VK-K-R(-NMI*'B~ *X=O[>զdo۳nyi9@'{?v=֧ XbNXdG9 /5>_i6yvPـ9 @>nhRdw߳9 f#i'

The import java.awt is never used
The import java.awt is never used

The import java.awt is never used
java.awt 包 被导入了,但是却没有被使用过.
只是个警告吧,不需要管他

导入java。 awt从未使用

The import java.awt is never used import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.sql.*; public class a 求解释import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; java 画矩形package testFrame;import java.awt.Color;import java.awt.Component;import java.awt.Frame;import java.awt.Graphics;import java.awt.Rectangle;public class FrameTest extends Frame {/*** @param args*/Rectangle rec;Frame f;public void paint(G import java.awt.*import java.awt.event.*为什么还要下面的那个语句.? 要详细点的哈 我是新手 不太懂哦// Java core packagesimport java.awt.*;import java.awt.event.*;import java.awt.geom.*;import java.util.*;// Java extension packagesimport javax.swing.*;import javax.swing.BorderFactory;import javax.swing.ev 英语翻译import java.awt.*;import java.awt.event.*;import javax.swing.*;import javax.swing.border.*;import java.util.Vector;import java.net.*;import java.io.*;class FindFriend2 extends JFrame {//查找好友类JLabel jLabel1 = new JLabel();JButton import+java.awt.Graphics;+和++import+java.applet.Applet;这两条语句的作用 import java.awt.*; import java.awt.event.*; import javax.swing.*;为什么写JAVA程序总是要写上这些东西?可以不写上吗?不写上会怎样? 麻烦高手帮我改一下这个程序import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.*;public class ccc extends JFrame implements ActionListener {JPanel n1;JButton n2;JButton n3;JButton n4 如果要使用 java.awt.Button这个类,下面哪个用法是正确的?A.import java.awt.Button;B.什么也不做C.package java.awt.*;D.import java.awt.event.Button java烟花程序看不懂,初学java希望每句给出解释import java.awt.*;import java.applet.*;import java.awt.event.*;import javax.swing.*;public class Fireworks extends Applet implements MouseListener,Runnable{int x,y;int top,point;public void java一个小错误,帮忙看下啊,超级感谢import java.awt.*;import java.awt.event.*;import javax.swing.*;import javax.swing.event.CaretEvent;import javax.swing.event.CaretListener;public class NumberFrame extends JFrame implements CaretListener 有没有哪个好心人可以帮我运行一下这个JAVA程序?告诉我运行的结果是什么样.import java.awt.*;import java.awt.event.*;import javax.swing.*;import javax.swing.border.*;public class GRIDRAWING{public static void main(String ar 编写一个Applet程序,从键盘输入一个整数,求出其阶乘值.刚学JAVA编不太来自个儿编得如下import java.applet.*;import java.awt.*;import jva.awt.event.*;public class Test3_2 extends Applet implements ActionListener{Label promp 我这个java计算器为啥只能输入一位数?import java.awt.*;import java.awt.event.*;import javax.swing.*;public class NewCalculator extends WindowAdapter { JPanel j1 = new JPanel(); JPanel j2 = new JPanel(); JTextField jt = new JTextField(3) import java.awt.*,我在MyEclipse里面写下后,下面提示 The import java.awt is never used.我用的是JDK 1.6,在windows里面的那个控制台里面运行HELLOWORLD很正常,现在出现这个错误是什么原因啊? JAVAEclipse:could not find the main class,program will exit!我在Eclipse中写了以下一个程序:import java.awt.*;import javax.swing.*;import javax.swing.tree.*;import javax.swing.event.*;//森林状的关系图public class JTreeDemoextends JF