Posts Tagged "Java"

Review of Java The Complete Reference: Eighth Edition

Today I wanted to share with you all another great book that I have in my library. Java The Complete Reference written by Herbert Schildt and published by Oracle Press is a beast of a book and contains just about anything you want to look up about Java. This particular edition came out in June of 2011 and has been updated to include JDK 7. As it stands it is ...

Java Doesn’t Need A Rewrite It Needs Hardening

So we have all seen the almost daily reports of zero-day bugs creeping into Java's platform recently. Many out there have said things like "Oracle has dropped the ball" and others have made calls for a massive rewrite of the way Java works. I understand that this recent flood of exploits have caused many of you concerns, I think the future of Java is getting brighter. I don't think Java ...

Transforming Shapes With Java AffineTransform

You, a retro gamer, are on a new quest to bring back a classic arcade hit to a whole new generation of space faring digital cosmonauts. But it is dangerous out there and you need to show these rookies the dangers of journeying their ships alone in the vastness of space. So you want to create your own game of Asteroids. For those unfamiliar with this game, and I can't ...

Introduction to a SkipList Data Structure in Java

Hello everyone! The other day I was approached by macosxnerd101, a newly minted moderator at Dream.In.Code, and asked to contribute to a new thread coming up on Java data structures. Now most of the new programmers here know of the basic data structures like binary trees, arrays, heaps or stacks. Many of these topics I knew would be covered by other contributors to the thread. So I decided to introduce ...

Login to a Website from Java

Historically the question "How do I login to a website from X Language?" gets asked from time to time on Dream.In.Code. The answers to this question has not been the greatest and these questions tend to be largely ignored. I intend to put an end to this for the Java language with a simple example. The answer, while simple, does expect the reader to be at least familiar with how ...

Intersection of LinkedLists Using Java

Yesterday a user came through the Java forum looking for help with finding the intersection of two LinkedList sets. If you were anything like I was in school, you probably had a flash back to math class and the teacher drawing Venn Diagrams up on the white board. Two circles, usually representing two sets of elements, and where they overlapped was elements shared between the sets. Maybe they even drew ...