レス数が1スレッドの最大レス数(1000件)を超えています。残念ながら投稿することができません。
V2CMOD #4
-
こんな感じにしたらメニュー表示がV2Cと同じ様になった
苦労した
//(メニューアイテム)
JMIArray.push( new javax.swing.JMenuItem(ItemText) ); //メニュー・アイテム
//(反転色設定)
var BGC = JMIArray[j].getBackground(); //バックグランドカラー取得
var BGCD = new java.awt.Color(java.lang.Integer('10860493')); //swingと同じ水色
//(反転MouseListener)
JMIML = new java.awt.event.MouseListener() {
mouseClicked: function(e) {},
mouseEntered: function(e) { e.getComponent().setBackground(BGCD ); },
mouseExited: function(e) { e.getComponent().setBackground(BGC); },
mousePressed: function(e) {},
mouseReleased: function(e) {}
};
JMIArray[j].addMouseListener(JMIML);
掲示板管理者へ連絡
無料レンタル掲示板