Search the Community
Showing results for tags 'java'.
Found 3 results
Eclipse is a professional IDE, which at first may seem complex development of our first programs. All Eclipse program requires the creation of a "project", for this we must select from the menu of options: Or from the toolbar of the Eclipse: Now, the dialogue where we define our project name appears: In the text field "Project Name" we enter as name: Project1 and leave all other options dialogue with the defaults. Click the "Finish" button. Now in the window "Package" the project we've just created appears: As a second step we will see that every Java program requires at least one class. To create a class we select from the menu of options: Or from the toolbar of the Eclipse: In the dialog that appears we must define the class name (in our first example we will call the class as Class1, then see that it is important to define a name that represents the goal of it), the other data of the dialogue we left with the default values: After pressing the "Finish" button we have the file where we can code our first program: Later we will see the files created in a project, now devote ourselves to encode our first program. In the editing window already we have the skeleton of a Java class that the Eclipse environment we created automatically. All Java program should define the main function. This function must encode in the class, "Class1". We proceed to type the following: That is we have encoded in the Eclipse IDE our first program: As a last step we have to compile and run the program, this can be done from the menu of options: Or from the toolbar of the Eclipse: Unless there are coding errors, we'll see the result of running in a window of Eclipse called "Console" that appears at the bottom:
Bachraan posted a topic in ProgrammingHello there friends! For the past few months, I have been working on and off on my new project. I have done my work with Java, and I have made mods, and now, a multiplayer, functioning, clean-code, lag-proof plugin, for all of 1.8 minecraft users! I am very proud of this plugin, and the plugin implements: 1. Full-Fledged ChatBot. Works like: You ask something like, "how do I get moneyy" (Error intentional). And guess what! The chat bot will answer with: "(Player's Name), you can get money by ...."! 2. AntiGreif: Bans blocks from being places 3. AFK Kicking System: After being afk for (SET) time, you are kicked. 4. Admin Broadcasting: Using the command, and a preset number (1-4), will broadcast a set message! 5. InGame Console: A console ingame, that allows the console to be used in a book! What is in the Console, you see it! (Code from the Public, Edited HEAVILY) 6. Advanced Teleportation(TravelPad-Master): Sick of typing tons of commands to get to others? Then just type 1 command to made a little piece of enchanted carpet(TravelPad), and you will get a temporary book that allows you to see who allows incoming teleports from you, click it, and you will be teleported there! But it works vise versa, so be careful of who you choose! (Code from the Public, Edited Heavily) 7. 20+ Commands, all the way from basic Kicking, to private messaging, to Flight, to EXP Edit, and more!! 8.Over 3000 Lines of code! 8 1/2. Compatible with Bukkit 1.8.x, and Spigot! 9. Source Code all written by yours truly! 10. FREE!! So contact me to get the v18.104.22.168 version of the plugin for your server! Please note that I DO need advanced Java programmers' help, to help me, and everyone make a marvelous plugin, for the world to have! Email me at: email@example.com for a copy, or to offer help, or just message me on this very website, by commenting or PMing me! Good day! Note: Download in comments. EDIT: Please note that I will not be told of plagiarism, as I do not steal work. Should you get a copy, you are not to try to open the source files, or code. Or take credit for any of my work. This is my work, that I worked my butt off for, and I am not giving anyone to redistribute it as their work, or say it is their work.