# VTK + Java + Mac + Swing

**URL:** https://discourse.vtk.org/t/vtk-java-mac-swing/2794
**Category:** Support
**Created:** [March 10, 2020, 5:44pm UTC](https://discourse.vtk.org/t/vtk-java-mac-swing/2794 "2020-03-10T17:44:23Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![Martin3d](https://discourse.vtk.org/user_avatar/discourse.vtk.org/martin3d/32/4303_2.png) [@Martin3d](https://discourse.vtk.org/u/Martin3d)
#### Post date: [March 14, 2023, 1:48pm UTC](https://discourse.vtk.org/t/vtk-java-mac-swing/2794/7 "2023-03-14T13:48:23Z")

</div>

Hi,

A recent versions of JOGL, at least [the one I patched to work for macOS M1](https://discourse.vtk.org/t/fixed-vtk-java-wrappers-on-macos/7467), is able to pick the macOS main thread on his own without having to use the `-XstartOnFirstThread` flag - which make Swing usable again. This JOGL version also fixes a number of issue with JOGL on macOS.

If you want to give a try easily, maybe you can use the [maven packages I mentioned here](https://discourse.vtk.org/t/vtk-9-1-available-as-maven-dependency/9371). It will bring JOGL 2.4 + VTK 9.1

---

_[View the full topic](https://discourse.vtk.org/t/vtk-java-mac-swing/2794)._
