当前位置: 技术问答>java相关
想试试自己,回答JAVA问题
来源: 互联网 发布时间:2015-02-07
本文导语: 可以有关部门swing,jvm,serialization,socket,由于工作问题j2ee,j2me较少涉猎. 回答5个问题吧,提问的有水平的,分给他. | swing的难题: 1.JTabel: 以列为单位设置编辑器、绘制器,该列cell的值是String类型的...
可以有关部门swing,jvm,serialization,socket,由于工作问题j2ee,j2me较少涉猎.
回答5个问题吧,提问的有水平的,分给他.
回答5个问题吧,提问的有水平的,分给他.
|
swing的难题:
1.JTabel:
以列为单位设置编辑器、绘制器,该列cell的值是String类型的,绘制器是JLabel,编辑器是继承JTextField的一个自定义类UserTextField,UserTextField类实现FocusListener接口,在focuslost的时候对UserTextField的内容作有效性检验,如果有效性检查不合格,弹出提示框,确定后,用requestfocus将焦点移回UserTextField。
问题:
在编辑完一个cell,用鼠标点击其他cell,如果有效性检查未通过,弹出提示框,确定后,焦点无法返回原有cell!同时JTable内的蓝条与焦点不同步!
2.
算了,还是先解决这个比较简单的吧!
1.JTabel:
以列为单位设置编辑器、绘制器,该列cell的值是String类型的,绘制器是JLabel,编辑器是继承JTextField的一个自定义类UserTextField,UserTextField类实现FocusListener接口,在focuslost的时候对UserTextField的内容作有效性检验,如果有效性检查不合格,弹出提示框,确定后,用requestfocus将焦点移回UserTextField。
问题:
在编辑完一个cell,用鼠标点击其他cell,如果有效性检查未通过,弹出提示框,确定后,焦点无法返回原有cell!同时JTable内的蓝条与焦点不同步!
2.
算了,还是先解决这个比较简单的吧!
|
1.
We have developed an application for voice conferencing its working fine , but when client is on DSL connection its not working,player cant realized, can any one help in out whats the DSL architecture, , Will JMF work with DSL connection, My Appication architecture is some thing like that
Sender--------> Reciever
there is no server involve in communicatoin its peer to peer connection, so that both sender's and reciever's ip must exist on Net they must not behind the firewall or proxy,.
PLease help me i mwaiting for yourkind replies.
2.
How can i cross the Proxy , and conenct to internet lan client?
We have developed an application for voice conferencing its working fine , but when client is on DSL connection its not working,player cant realized, can any one help in out whats the DSL architecture, , Will JMF work with DSL connection, My Appication architecture is some thing like that
Sender--------> Reciever
there is no server involve in communicatoin its peer to peer connection, so that both sender's and reciever's ip must exist on Net they must not behind the firewall or proxy,.
PLease help me i mwaiting for yourkind replies.
2.
How can i cross the Proxy , and conenct to internet lan client?