- 浏览: 34756 次
- 性别:
- 来自: 济南
-
最新评论
文章列表
doCheck.bat
@ant -f findbugsCheck.xml
findbugsCheck.xml
<project name="FindBugs Check" default="findbugsCheck" basedir=".">
<property name="workspace" value="D:/workspace" />
<property name="findbugs.home" ...
/*
* Returns a new XMLHttpRequest object, or false if this browser
* doesn't support it
*/
function newXMLHttpRequest() {
var xmlreq = false;
if (window.XMLHttpRequest) {
// Create XMLHttpRequest object in non-Microsoft browsers
xmlreq = new XMLHttpRequest();
} else ...
自动调整IFRAME高度
- 博客分类:
- 工作总结
//自动调整IFRAME大小
function dyniframesize()
{
var oFrame = window.frameElement;
if(oFrame)
{
//自动调整iframe高度
window.frameElement.style.height = document.body.scrollHeight;
}
}
if (window.addEventListener)
{
window.addEventListener("load", dyniframesize, false);
}
e ...
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* @author freemenff
*
*/
public class Test {
/**
* @param args
*/
public static void main(String[] args) {
/**
...
public class Singleton{
private static Singleton instance;
public static synchronized Singleton getInstance(){
if(instance == null){
instance = new Singleton();
}
return instance;
}
}
import java.io.*;
public class MyEclipseGen {
private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement and the Digital Millenium Copyright Act of 1998 (http://www.loc.gov/copyright/legislation/dmca.pdf). Under section 1204 ...
Keep the bar green to keep the code clean