AnyChat技术支持论坛

标题: 测试了src\client\java\AnyChatDemoForJava里面的源码,报错了,这是什么错误? [打印本页]

作者: yang2978    时间: 2014-4-26 17:16
标题: 测试了src\client\java\AnyChatDemoForJava里面的源码,报错了,这是什么错误?
UIDefaults.getUI() failed: no ComponentUI class for: javax.swing.JTextArea[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,caretColor=,disabledTextColor=,editable=true,margin=,selectedTextColor=,selectionColor=,colums=0,columWidth=0,rows=0,rowHeight=0,word=false,wrap=false]
java.lang.Error
        at javax.swing.UIDefaults.getUIError(Unknown Source)
        at javax.swing.MultiUIDefaults.getUIError(Unknown Source)
        at javax.swing.UIDefaults.getUI(Unknown Source)
        at javax.swing.UIManager.getUI(Unknown Source)
        at javax.swing.text.JTextComponent.updateUI(Unknown Source)
        at javax.swing.text.JTextComponent.<init>(Unknown Source)
        at javax.swing.JTextArea.<init>(Unknown Source)
        at javax.swing.JTextArea.<init>(Unknown Source)
        at com.bairuitech.demo.VideoJFrame.<init>(VideoJFrame.java:136)
        at com.bairuitech.demo.AnychatDemo.OnAnyChatEnterRoomMessage(AnychatDemo.java:77)
        at com.bairuitech.anychat.AnyChatCoreSDK.OnNotifyMsg(AnyChatCoreSDK.java:247)
        at com.bairuitech.anychat.AnyChatCoreSDK.OnAnyChatNotifyMsg(AnyChatCoreSDK.java:373)


作者: admin    时间: 2014-4-26 22:04
可能是缺少某些库?




欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/) Powered by Discuz! X3