Hot Java / Swing / JSP How-Tos

How To: Get rid of screen flickering for Java game development

In this 14th video in a series about JAVA game development, "thenewboston" (Bucky Roberts) explains how to redefine your screen to avoid annoying flickering. Flickering in JAVA games often occurs because of time lags as the viewer watches the computer draw a new screen, pixel by pixel. Pre-installed code in JAVA can be used to eliminate this problem by taking advantage of "Buffering" and "Page Flipping". These functions permit you to delay the composition of a new screen until it is finished,...

How To: Build "set" and "get" methods when programming in Java

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to build and work with simple set and get methods when writing code in the Java programming language. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Get mouse input from users for Java game development

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to use accept mouse input from a user in a Java applet. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Create key events for Java game development

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to handle key events when writing code in the Java programming language. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Use logical operators in Java programming

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBostonian will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to work with logical operators in Java. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Work with sprites in Java game development

Want to write Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will help you on your merry way to accomplishing just that. Specifically, this lesson will demonstrate how to work with sprites when doing game development. For detailed instructions, watch this programmer's guide.

How To: Draw geometric shapes when programming in Java

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to generate various geometric shapes within a graphical user interface or GUI when writing code in the Java programming language. For more information, including detailed, step-by-step instructions, watch this helpful programmer's g...

How To: Build a window and screen in Java game development

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to utilize and display graphical user interface elements like windows when writing code in the Java programming language. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Write a simple Java program to average numbers

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBostonian will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to build a simple Java program to sum and find the mean for a list of ten numbers. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Convert military time to standard time for Java

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to write a simple Java applet to convert military time (i.e., 24-hour clock time) to standard (i.e., 12-hour clock) time. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Create a simple polymorphic program in Java

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to work with simple polymorphism when writing code in the Java programming language. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Use the display mode method in when Java programming

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to utilizie the display mode method when writing code in the Java programming language. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Create a basic array table in Java programming

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to display the index of an array in table format when writing code in the Java programming language. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Pass arrays into methods for Java programming

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBostonian will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to pass an array into a method when writing code in the Java programming language. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Create a multi-dimensional array in Java programming

Want to write Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will help you on your merry way to accomplishing just that. Specifically, this lesson will demonstrate how to create a multi-dimensional array when coding in Java. For more information, including detailed, step-by-step instructions, watch this programmer's guide.

How To: Program a mouselook scroll for Java game development

Want to write Java applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will help you on your merry way to accomplishing just that. Specifically, this lesson will demonstrate how to work with the MouseLook class for a free look effect in Java game development. For detailed instructions, watch this programmer's guide.

How To: Clear your java cache

In this tutorial, we learn how to clear your Java cache. First, go to the control panel and then open up Java from the thumbnails menu. After this, you will right click on the program and then go to 'view cache'. From here, select all of the Java and click inside the boxes to do this. Then, push 'ctrl+a" and it will start to clear. After this the cache will clear out and you will be finished. It may take a few minutes to load depending on how much information you have loaded in the cache. Exi...

How To: Create a simple math program with Java

In this clip, you'll learn how to create a simple calculator program with Java. Whether you're new to the Java object-oriented programming language or are a seasoned developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Get started using the Java object-oriented programming language

This clip presents a general overview of what you'll need to get started writing code in the Java programming language. Whether you're new to the Java object-oriented programming language or are a seasoned developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Return values from a method when programming in Java

In this clip, you'll learn how to return a variable value from a method when coding in Java. Whether you're new to the Java object-oriented programming language or are a seasoned developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Install the Java Development Kit to start programming

If you want to learn how to program in the Java language, then the first thing you're going to need to do is download and install the JDK. That stands for Java Development Kit, and is the basis for anyone begging in Java, and you need it to get the Javac (Java compiler) running. This video will show you what to do, and will show you how to set a new variable name and value in the Environment Variables under Advanced System Settings on your Windows PC.

How To: Stop your Java applet animations from flickering

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to put a stop to unwanted flickering when writing code in the Java programming language. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Apply anti-aliasing to text when programming in Java

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to anti-alias text when writing code in the Java programming language. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Draw rectangles when programming in Java

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to generate basic rectangles for a graphical user interface or GUI when writing code in the Java programming language. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Build a Java applet to write data to a file

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to write data to an external file when writing code in the Java programming language. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

How To: Use the FlowLayout class when programming Java

Want to program your own Java games and applications but don't know beans about object-oriented programming? Never you fear. This free video tutorial from TheNewBoston will have you coding your own Java apps in no time flat. Specifically, this lesson discusses how to work with the FlowLayout class when writing code in the Java programming language. For more information, including detailed, step-by-step instructions, watch this helpful programmer's guide.

Prev Page