You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm kind of new to jruby and warbler, but I've run into an issue that I can't figure out. Over the last few weeks, I've been working on buildiing Swing interfaces from jruby and packaging them through various methods. So far I've ironed out 3, but warbler is by far the easiest. However the jar that is produced closes the Swing window almost instantly instead of waiting for the use to close it. Like I said, I'm a relative novice and have probably missed something, but if someone could take a look at my example code and point in the right direction, I'd greatly appreciate it. I'm doing this on an M1 macbook with Microsoft's openjdk 17, but I've also been testing the code on a windows 10 x86 machine running java 8. It's a company machine. Basically, just clone the repo, and launch run.sh from within it. It will create 3 different jars based on the various methods that I've found and run them.
I'm kind of new to jruby and warbler, but I've run into an issue that I can't figure out. Over the last few weeks, I've been working on buildiing Swing interfaces from jruby and packaging them through various methods. So far I've ironed out 3, but warbler is by far the easiest. However the jar that is produced closes the Swing window almost instantly instead of waiting for the use to close it. Like I said, I'm a relative novice and have probably missed something, but if someone could take a look at my example code and point in the right direction, I'd greatly appreciate it. I'm doing this on an M1 macbook with Microsoft's openjdk 17, but I've also been testing the code on a windows 10 x86 machine running java 8. It's a company machine. Basically, just clone the repo, and launch run.sh from within it. It will create 3 different jars based on the various methods that I've found and run them.
https://github.com/besmith43/warbler_swing_example/
If there's anything that I can do to make this easier to solve, I'd be more than happy to.
The text was updated successfully, but these errors were encountered: