Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - roxyavgfli

Pages: [1]
1
General / Re: Mac OS X issue with jsfml.rar
« on: June 08, 2015, 05:43:15 pm »
it's fine, finally found what was wrong.
Seems like
EventQueue.invokeLater(new Runnable() {
                        @Override
                        public void run() {
                                try {
                                        Game game = new Game(0);
                                } catch (Exception e) {
                                        e.printStackTrace();
                                }
                        }
                });
doesn't work on Mac os X but
Game game = new Game();
is working fine

2
General / Re: Mac OS X issue with jsfml.rar
« on: June 08, 2015, 12:40:23 am »
Hi man thanks for replying,

Yes I did try it! Doing this allowed me to get rid off this error, but graphical doesn't want to appear.
I made quite a few researches this week end and did not found anything about this precise issue.


3
General / Mac OS X issue with jsfml.rar
« on: June 07, 2015, 03:21:50 pm »
Hi guys, I'm new to this forum,

I have a terrible issue with an application that i am developing with collaborators. It seems to run well on linux but I do get this message with mac OS X, and I couldn't figure it out yet.

Exception in thread "AWT-EventQueue-0" org.jsfml.internal.JSFMLError: This thread is not allowed to create a window on this system. If you are running on Mac OS X, you MUST run your application with the -XstartOnFirstThread command line argument!
        at org.jsfml.window.Window.create(Unknown Source)
        at org.jsfml.graphics.RenderWindow.create(Unknown Source)
        at org.jsfml.graphics.RenderWindow.<init>(Unknown Source)
        at grahique.Jeu.<clinit>(Jeu.java:25)
        at grahique.SelectLevel.actionPerformed(SelectLevel.java:113)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)

Anyone of you does have an idea?

Pages: [1]
anything