
Swing!
文章平均质量分 67
zhouysh
这个作者很懒,什么都没留下…
展开
-
Java Swing的JScrollPane结构是否合理?
Java Swing的JScrollPane结构是否合理?Java中的JScrollPane几乎负责了一切与滚动面相关的东西,比如说,你要滚动一个大的组件,把它放入一个JScrollPane中即可,而一些独特的滚动组件,比如说JList,JTextArea也是要放到JScrollPane中才能滚动。从表面上想,这似乎是合理的,良好设计的,一切需要滚动的东西都放入一个滚动面板里面,而这个滚动面板转载 2006-06-30 17:28:00 · 2741 阅读 · 0 评论 -
自己在swing开发中的一点心得
就当自己的在平时开发中记录用的吧。1. 写一个自己的TableCellEditor , 可以继承与AbstractCellEditor ,主要是应该实现 2个方法: a. getTableCellEditorComponent 这个方法主要是当这个CELL被编辑的时候返回的Component ,也就是可以认为,当被编辑的时候会去调用这个方法。所以当我们实现自己的CellEd原创 2006-07-05 23:23:00 · 1586 阅读 · 1 评论 -
Swing: Use Event-Specific Utilities
Often times when developing in Swing, you need to implement your own events and listener API. A naive approach would be to simply use a basic collection: public class SomeClass { private List l原创 2006-08-08 15:48:00 · 1231 阅读 · 1 评论 -
Java事件处理与发送
Java事件处理与发送原创 2006-08-08 11:44:00 · 1431 阅读 · 0 评论 -
JAVA中UIManager的使用
The following is a list of all valid keys for the UIManager.getDefaults() object. Im not sure which of these is the key you need, but you may take a look at the call ColorUIResource cuir = UIManager.原创 2008-06-10 16:38:00 · 3277 阅读 · 0 评论 -
Using OBJECT, EMBED and APPLET Tags in Java Plug-in
from : http://doc.javanb.com/javasdk-docs/guide/plugin/developer_guide/using_tags.html#codebaseThis chapter includes the following topics:IntroductionJavaTM Plug-in in IE on WindowsJava Pl转载 2008-09-09 17:01:00 · 1545 阅读 · 0 评论