I wonder if this is possible? :)

Discussion in 'Plugin Development' started by Dragonowner, Mar 16, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Dragonowner

    Well since Minecraft's applet window is constructed using java.swing, shouldn't we be allowed to make our own gui's in-game? I tried using the paint() and onRepaint() methods, but to my dismay, I couldn't get it working. I also looked through the Craftbukkit API to see how it calls interfaces, and that didn't help me any. So if this is possible/ or isn't, please post a reply.
     
  2. Offline

    Edward Hand

    Bukkit modifies the server. The GUI is on the client. You can't just call functions on the client from the server as if they were the same thing (so this is not possible)
     
  3. Offline

    Dragonowner

    Aww :'(
    I was hoping there was a way. I wanted to make a paint that shows what I'm developing.
    Das ist schade....Ich werde jetzt mich schneide
     
  4. Offline

    bekvon

    Yup, not possible on the client side. However, if you wanted to make a java.swing gui on the server itself that, for example, showes current online players and such, that should be possible.
     
  5. Offline

    Dragonowner

    This is most definitely possible. Bukkit has already made one, but they have removed it for now I assume.
     
Thread Status:
Not open for further replies.

Share This Page