08 2021 档案
摘要:想体验下微信的二维码扫描组件吗? 直接撸代码,搞起~~~ import org.opencv.core.Core; import org.opencv.core.CvType; import org.opencv.core.Mat; import java.awt.*; import java.aw
阅读全文
摘要:SwingUtilities.invokeLater。调用后立即返回。其他线程和 invokeLater中的参数线程异步执行。互不阻塞。 这个方法只是将UI更新任务,加载到EventQueue,EDT线程并不能马上执行,而且又可能for循环调用invokeLater了一大堆ui更新,最后结果只是最后
阅读全文
摘要:void javax.swing.SwingWorker.publish(V... chunks) Sends data chunks to the process method. This method is to be used from inside the doInBackground me
阅读全文
摘要:import java.awt.*; /** * 帮助创建GridBagConstrains类 * * @author XiaJT */public class GridBagConstraintsHelper extends GridBagConstraints { /** * */ privat
阅读全文