摘要: 1 import com.sun.awt.AWTUtilities; 2 import java.awt.Image; 3 import java.awt.MediaTracker; 4 import java.awt.Point; 5 import java.awt.Rectangle; 6 import java.awt.Shape; 7 import java.... 阅读全文
posted @ 2018-09-14 01:52 aloneOnWorld 阅读(396) 评论(1) 推荐(0) 编辑
摘要: 1 import java.awt.*; 2 import java.awt.event.*; 3 import javax.swing.*; 4 5 public class LogANA extends JFrame { 6 7 //背景图片bgImage 8 private ImageIcon bgImage = new ImageIcon("src/m... 阅读全文
posted @ 2018-09-13 01:55 aloneOnWorld 阅读(1944) 评论(0) 推荐(0) 编辑
摘要: 1 # -*- coding: utf-8 -*- 2 3 # Form implementation generated from reading ui file 'Mainform.ui' 4 # 5 # Created by: PyQt5 UI code generator 5.11.2 6 # 7 # WARNING! All changes made in... 阅读全文
posted @ 2018-09-06 02:20 aloneOnWorld 阅读(514) 评论(0) 推荐(0) 编辑
摘要: 1 # -*- coding: utf-8 -*- 2 from Mainform import Ui_Frame 3 4 import sys 5 from PyQt5.QtWidgets import QApplication, QMainWindow,QFrame,QProgressDialog,QMessageBox,QWidget 6 from PyQt5.QtCore ... 阅读全文
posted @ 2018-09-06 02:18 aloneOnWorld 阅读(3784) 评论(0) 推荐(0) 编辑
摘要: 1 import time 2 import wx 3 from threading import Thread 4 from wx.lib.pubsub import Publisher 5 6 class ParseMML(): 7 souceFile='' 8 targetFile='' 9 progressNum=0 10 ... 阅读全文
posted @ 2018-09-02 02:51 aloneOnWorld 阅读(1558) 评论(0) 推荐(0) 编辑
摘要: File logbackFile = new File(ConstantsTools.PATH_LOG_CONFIG);if (logbackFile.exists()) { LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFac 阅读全文
posted @ 2018-08-11 02:33 aloneOnWorld 阅读(5464) 评论(0) 推荐(0) 编辑
摘要: 1 @Override 2 public void run() { 3 StatusPanel.isRunning = true; 4 this.setName("ExecuteThread"); 5 6 String exe = "python"; 7 String command = "C:\\U... 阅读全文
posted @ 2018-08-08 01:54 aloneOnWorld 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 1 def OnDeleteClick(self, event): 2 import os 3 dlg = wx.FileDialog(self,message=u"保存文件", 4 defaultDir=os.getcwd(), 5 ... 阅读全文
posted @ 2018-04-18 00:04 aloneOnWorld 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 3 */ 4 package com.alon.FileMake; 5 6 import java.awt.BorderLayout; 7 import java.awt.Color; 8 import java.awt.Container; 9 import java.awt.Dimension; 10 import ... 阅读全文
posted @ 2018-01-01 02:32 aloneOnWorld 阅读(645) 评论(0) 推荐(0) 编辑
摘要: 注意:javac + encoding="utf-8",不然控制台会乱码。 1.build.xml 2.直接执行 ant 命令会运行default 也就是run这个target,其他命令ant+target name,如 ant clean; 阅读全文
posted @ 2017-12-06 00:41 aloneOnWorld 阅读(146) 评论(0) 推荐(0) 编辑