frame 窗口的改变问题 应该是用Component Listener的componentResized(ComponentEvent) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Simplest Demopackage com.borland.samples.dx.aggregating;import java.awt.*;import javax.swing.JFrame;import java.awt.event.*;public class Frame2 extends JFrame { public Frame2() { addComponentListener(new ComponentAdapter() { public void componentResized(ComponentEvent e) { //在这里处理 System.out.println(e); } }); }} J关于AVA输入流的问题 高分请教java 中,较难的时间问题 两个问题:一个是复选框的icon背景如何变灰,就象Press时候那样的颜色;第二个是关于组件占据空间的问题 如何打开文件 50分求..WEB上..JavaScript与Applet的互操作.. 各位高手紧急求以下程序的源代码,拜托了。救命呀!谁先做出正确程序给分 初学者的问题,请大侠们帮助!50+20 如何把java程序与mysql连接起来 如何把这个给"矩阵加括号"的程序做成通用程序?? 新手,求教java素数环用回溯怎么实现 环境变量问题 急!! Applet 与 Dialog?
package com.borland.samples.dx.aggregating;import java.awt.*;
import javax.swing.JFrame;
import java.awt.event.*;public class Frame2 extends JFrame { public Frame2() {
addComponentListener(new ComponentAdapter() {
public void componentResized(ComponentEvent e) {
//在这里处理
System.out.println(e);
} });
}}