Skip to content

Commit 2ffe0ed

Browse files
hansonrhansonr
authored andcommitted
debug comments out
1 parent ebf89b5 commit 2ffe0ed

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sources/net.sf.j2s.java.core/src/swingjs/plaf/JSPopupMenuUI.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public class JSPopupMenuUI extends JSPanelUI implements ContainerListener {
6767
@Override
6868
public void propertyChange(PropertyChangeEvent e) {
6969
String prop = e.getPropertyName();
70-
System.out.println("jspopiupmenuui prop " + prop);
70+
//System.out.println("jspopiupmenuui prop " + prop);
7171
super.propertyChange(e);
7272
}
7373

@@ -124,7 +124,7 @@ public DOMNode updateDOMNode() {
124124
public void componentAdded(ContainerEvent e) {
125125
// OK, the idea here is that we detach all child nodes
126126
// and then reattach them.
127-
System.out.println("jspopupmenu componentadded " + e);
127+
//System.out.println("jspopupmenu componentadded " + e);
128128
DOMNode.detachAll(outerNode);
129129
setTainted();
130130
setHTMLElement();
@@ -135,7 +135,7 @@ public void componentAdded(ContainerEvent e) {
135135

136136
@Override
137137
public void componentRemoved(ContainerEvent e) {
138-
System.out.println("jspopupmenu componentremoved " + e);
138+
//System.out.println("jspopupmenu componentremoved " + e);
139139
DOMNode.detachAll(outerNode);
140140
setTainted();
141141
setHTMLElement();
@@ -147,7 +147,7 @@ public void componentRemoved(ContainerEvent e) {
147147
@Override
148148
public boolean handleJSEvent(Object target, int eventType, Object jQueryEvent) {
149149
// we use == here because this will be JavaScript
150-
System.out.println("jspopupmenu JSEVent " + eventType);
150+
//System.out.println("jspopupmenu JSEVent " + eventType);
151151
checkStopPopupMenuTimer(target, eventType, jQueryEvent);
152152
return super.handleJSEvent(target, eventType, jQueryEvent);
153153
}
@@ -184,7 +184,7 @@ protected void uninstallListeners() {
184184

185185
@Override
186186
public void setVisible(boolean b) {
187-
System.out.println("jspopupmenu setvis " + b);
187+
//System.out.println("jspopupmenu setvis " + b);
188188
// TODO: We are not setting vis false when closing
189189
//if (b && menu != null && menu.isVisible())
190190
//b = false;
@@ -233,7 +233,7 @@ public Dimension getPreferredSize(JComponent jc) {
233233
}
234234

235235
public void updateMenu(boolean andShow) {
236-
System.out.println("jspopupmenu updateMenu andshow=" + andShow);
236+
//System.out.println("jspopupmenu updateMenu andshow=" + andShow);
237237
setTainted();
238238
setHTMLElement();
239239
JSPopupMenuUI.j2sSwingMenu.updateMenu(menu, andShow);

0 commit comments

Comments
 (0)