Mercurial Hosting > editor
comparison editor.luan @ 27:32232df78246
work
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Fri, 11 Apr 2025 11:43:41 -0600 |
| parents | ba895419fb04 |
| children | bdb8754f1211 |
comparison
equal
deleted
inserted
replaced
| 26:ba895419fb04 | 27:32232df78246 |
|---|---|
| 383 frame.visible = true | 383 frame.visible = true |
| 384 text_area.request_focus_in_window() | 384 text_area.request_focus_in_window() |
| 385 n_windows = n_windows + 1 | 385 n_windows = n_windows + 1 |
| 386 end | 386 end |
| 387 | 387 |
| 388 --[[ | |
| 389 for _, laf in ipairs(Swing.get_installed_look_and_feels()) do | |
| 390 logger.info(laf) | |
| 391 end | |
| 392 ]] | |
| 393 --logger.info(Swing.get_look_and_feel()) | |
| 394 Swing.ui_manager_put("control",int_to_color(0xedeff2)) | |
| 395 Swing.set_look_and_feel("javax.swing.plaf.nimbus.NimbusLookAndFeel") | |
| 396 | |
| 388 Swing.run(function() | 397 Swing.run(function() |
| 389 local args = Luan.arg | 398 local args = Luan.arg |
| 390 if #args == 0 then | 399 if #args == 0 then |
| 391 new_window() | 400 new_window() |
| 392 else | 401 else |
