---
title: "java轻量级httpserver"
author: "bd2007"
date: "2012-02-08T11:48:27Z"
tags: []
slug: "java-httpserver"
draft: false
lastmod: "2012-02-08T11:48:27Z"
id: 1397500
url: "https://bd2007.iteye.com/blog/1397500"
---

httpclient+httpserver demo
Swing 换肤

```java
try
		{

			javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName());
			javax.swing.SwingUtilities.updateComponentTreeUI(this);// 更新

		}
		catch (Exception e)
		{

			e.printStackTrace();
			try
			{
				javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager
						.getCrossPlatformLookAndFeelClassName());
				javax.swing.SwingUtilities.updateComponentTreeUI(this);// 更新
			}
			catch (Exception e1)
			{
				e1.printStackTrace();
			}
		}
```

  
    
      
        
          [Service.zip](http://dl.iteye.com/topics/download/4a24ef7c-928e-3917-a272-a8d3c9f52a6e) (3.2 MB)

          
          下载次数: 3