---
title: "debug swing "
author: "tanglei198577"
date: "2010-04-15T16:22:34Z"
tags: []
categories: ["编程语言"]
slug: "debug-swing"
draft: false
lastmod: "2010-04-15T16:22:34Z"
id: 644724
url: "https://tanglei198577.iteye.com/blog/644724"
---

When u want to test the swing , java console can show some info by system.out.print.

Go to start - &gt; Control panel, then select Java control panel and open it.

Select Advanced option,then u can see Java console, select "Show console" then press "OK" button

 

 

by the way,a useful note for listening the operation: press the enter key

js: onkeydown="javascript:if(event.keyCode == 13){ logon();}"