mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
call setTitle in the EDT
This commit is contained in:
@@ -377,8 +377,13 @@ public class PSurfaceJOGL implements PSurface {
|
||||
|
||||
|
||||
@Override
|
||||
public void setTitle(String title) {
|
||||
window.setTitle(title);
|
||||
public void setTitle(final String title) {
|
||||
display.getEDTUtil().invoke(false, new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
window.setTitle(title);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user