V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  codechaser  ›  全部回复第 25 页 / 共 25 页
回复总数  489
1 ... 16  17  18  19  20  21  22  23  24  25  
2018-06-23 13:53:43 +08:00
回复了 codechaser 创建的主题 Java 为什么这个 MyJDialogTest 对话框会在延时 3 秒后才显示?
@verrickt 谢谢你!能抽空看一下我回复楼上的吗?
2018-06-23 13:52:42 +08:00
回复了 codechaser 创建的主题 Java 为什么这个 MyJDialogTest 对话框会在延时 3 秒后才显示?
@kaneg 你好!这个 setVisible 算不算异步呢?我看到 doc 里面有这一段话:
```
public void setVisible(boolean b)
Shows or hides this Dialog depending on the value of parameter b.
Overrides:
setVisible in class Window
Parameters:
b - if true, makes the Dialog visible, otherwise hides the Dialog. If the dialog and/or its owner are not yet displayable, both are made displayable. The dialog will be validated prior to being made visible. If false, hides the Dialog and then causes setVisible(true) to return if it is currently blocked.
Notes for modal dialogs.

setVisible(true): If the dialog is not already visible, this call will not return until the dialog is hidden by calling setVisible(false) or dispose.
setVisible(false): Hides the dialog and then returns on setVisible(true) if it is currently blocked.
It is OK to call this method from the event dispatching thread because the toolkit ensures that other events are not blocked while this method is blocked.
See Also:
Window.setVisible(boolean), Window.dispose(), Component.isDisplayable(), Component.validate(), isModal()
```
2018-06-17 14:39:09 +08:00
回复了 codechaser 创建的主题 Android Android 项目中包是怎么组织的?
@momocraft 谢谢!请问一下 android 里面必须严格把类都放在 java 文件夹下面吗?
2018-06-07 11:18:49 +08:00
回复了 codechaser 创建的主题 Java Java 中怎么在一个线程里设定一个外部布尔变量的值?
@chocotan 谢谢!我去查一下。
2018-06-07 11:15:20 +08:00
回复了 codechaser 创建的主题 Java Java 中怎么在一个线程里设定一个外部布尔变量的值?
@chocotan 谢谢!
2018-06-07 11:15:08 +08:00
回复了 codechaser 创建的主题 Java Java 中怎么在一个线程里设定一个外部布尔变量的值?
@BBCCBB 谢谢!这个确实可以。
2018-06-07 11:03:05 +08:00
回复了 codechaser 创建的主题 Java Java 中怎么在一个线程里设定一个外部布尔变量的值?
@donyee 直接这样吗?
```java
Boolean ss;
ss = new DaoToUserInfo("porebook").queryUser(user);
```
2018-06-07 10:41:33 +08:00
回复了 codechaser 创建的主题 Java Java 中怎么在一个线程里设定一个外部布尔变量的值?
@colincat 您好!我在学习 Java,不是说查询数据库这些操作最好要用多线程吗?如果是同步操作的话能否给个提示?
2018-06-07 10:38:55 +08:00
回复了 wvc 创建的主题 电影 推荐一部很好看,每一帧都能做壁纸的电影!
那我也来村通网一波:《 The Fall/坠入》,李佩斯主演,不是陈佩斯!!也是每一帧都能当壁纸啊。
1 ... 16  17  18  19  20  21  22  23  24  25  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5284 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms · UTC 06:39 · PVG 14:39 · LAX 23:39 · JFK 02:39
Developed with CodeLauncher
♥ Do have faith in what you're doing.