Subscribe to Dogstopper's Code Mania        RSS Feed
- - - - -

OpenOffice Draw Imitation

Icon Leave Comment
Have you ever wondered how to make a draw interface like the one you see in OpenOffice Draw? Today, I am going to show you not just how to draw with the mouse, but also how to make the panel that you draw on appear in the center of a screen (so that it looks like a sheet of paper). The only thing that I will not show you how to do today is to zoom...
- - - - -

Transparent Swing Components

Icon 1 Comments
Transparent Components in Swing are not normally thought of, which leads to issues when adding components unsuspectingly to a component that already has a background and you don't see...
* * * * *

paint() vs. paintComponent(): A Resolution

Icon 7 Comments
Well, time to wrap up this "feud" (edit:not a feud, just a stance) that pbl and I have had regarding paint() vs. paintComponent(). I have been a little "childish" about this whole affair, but I have decided to redeem myself. This article is organized to show my old argument, pbl...
- - - - -

Full Screen Java Applications

Icon 2 Comments
Have you ever wanted to create full-screen games in Java? Well, you're about to find out. Just a note that the code that I will show you today does NOT work in Applets. If you want to make a full-screen application to be accessible on the web, make it a Java Web Start.

Today, we will encounter 3 classes you probably have not used before:
...
- - - - -

Font Madness

Icon 1 Comments
So, while programming my most recent game, I encountered several issues which just absolutely drove me insane - I wanted to use a custom font in my game. This is one that is not natively found on any machine, so I had a little predicament. Well, after doing some searching through the API, I stumbled upon the createFont()...
* * * * *

Java ArrayLists

Icon 2 Comments
Introduction
Arrays are one of the fundamental datatypes in Java (along with most other programming languages), but they do have some...
- - - - -

Java Arrays Galore!

Icon Leave Comment
Hello again, thanks for reading!

There are many continuing questions on the forums recently that really deserve explanation. Arrays. Most of the time, these questions could be answered just by looking at a simple guide to arrays. That's what this is for!

Single Dimensional Arrays...
- - - - -

Static Methods Explained

Icon 1 Comments
What are static methods, and when should they be used? That is a question I have seen at least twice in the Java forum this week. So, I have taken the liberty of showing you in this lesson. As my primary language is Java, I will demonstrate in that language.

What Are Static Methods?...

Page 1 of 1

April 2014

S M T W T F S
  12345
6789101112
1314151617 18 19
20212223242526
27282930   

Recent Entries

Search My Blog

Recent Comments

0 user(s) viewing

0 Guests
0 member(s)
0 anonymous member(s)