JCreator中不能关闭界面查看器
我编了如下的的一个java程序:
//引入相关包
import java.awt.*;
public class ButtonEx extends Frame
{
Button b1=new Button("进入社区");
Button b2=new Button("退出");
public ButtonEx()
{
this.setTitle("论坛");
this.add(b1);
this.add(b2);
this.setBounds(100,100,200,300);
this.setVisible(true);
this.setResizable(true);
this.setBackground(Color.GREEN);
this.setAlwaysOnTop(true);
}
public static void main(String args[])
{
new ButtonEx();
}
}
没有错误,用JCreator成功的运行了一个程序并显示了图形界面,但是无法关闭显示图形界面的查看器,运行此程序也是同样的结果,请高手不吝赐教,谢了!
//引入相关包
import java.awt.*;
public class ButtonEx extends Frame
{
Button b1=new Button("进入社区");
Button b2=new Button("退出");
public ButtonEx()
{
this.setTitle("论坛");
this.add(b1);
this.add(b2);
this.setBounds(100,100,200,300);
this.setVisible(true);
this.setResizable(true);
this.setBackground(Color.GREEN);
this.setAlwaysOnTop(true);
}
public static void main(String args[])
{
new ButtonEx();
}
}
没有错误,用JCreator成功的运行了一个程序并显示了图形界面,但是无法关闭显示图形界面的查看器,运行此程序也是同样的结果,请高手不吝赐教,谢了!
...全文
相关推荐
JCreator使用教程
jcreator使用教程:JCreator 使用窍门技巧
JCreator IDE使用详解与实战技巧
JCreator是一个轻量级且专注于Java的集成开发环境(IDE),它具有诸多特点,使其在Java开发者中广受欢迎。JCreator提供了高效的代码编写和管理工具,特别适合学习和进行小型到中型的Java项目开发。本章将详细介绍JCreator的基本功能和其特点。JCreator支持多种界面风格和外观主题,用户可以通过简单的设置来改变IDE的外观,以适应不同的开发场景和个性化需求。更改界面风格- 在选项菜单(O)中选择外观(A)子菜单。
JCreator界面
这是我学一天Java后编写的JCreator界面 希望大家多多关照
JCreator中文版
中文版JCreator
Jcreator不能引入servlet包的解决办法
当用Jcreator开发servlet时,可能会遇到不能引入servlet包的问题,通过这个方法,你必定可以引入servlet包!


