+ 1
How can I use the concepts I learnt about java in designing applications !!
hi, guys I learnt lot about java until now but the thing is idk how to use it to design a program. its I can't figure out how for example arrays are used to design a game or trees to design graphs. I really need a device from u guys. the thing is idk how these thing are implemented to do an application.. please share ur ideas n advices
2 Respuestas
0
Use JFrame and JPanel to make applications. Set different attributes to your window with these... just to get you started:
setTitle("Your title");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true or false);
setLocationRelativeTo(null for now, to set the window to open at the center of the screen);
setPreferredSize(x, y);
setResizable(true or false);
Don't forget new JFrame! You might also want to import JFrame first, though. Of course, it won't work on mobile devices, you'll have to use something like eclipse. But, if you want to make a 3D game, you're on you're own.
0
Go for javafx