Now, to make this appear when right-clicking. Any idea how I can achieve that?

    • Aatube@kbin.social
      link
      fedilink
      arrow-up
      0
      ·
      10 months ago

      If you’re using swing, you can’t, unless you’re willing to use something called SwingWT from twelve years ago.

      • MrOzwaldMan@lemmy.mlOP
        link
        fedilink
        arrow-up
        0
        ·
        10 months ago

        Im using JavaFX, i forgot to type that in the title.

        If it still doesn’t work, i may have to just CSS or show the devs my work and they’ll implement my work in their own way.