Java Video Tutorial 48

Make a Java Paint ApplicationThis tutorial is going to be a ton of fun. Today I’ll show you how to Make a Java Paint Application!

One of you guys asked me to do this and it gives me a great opportunity to review and cover new topics all at once. Somethings I cover that you may want to brush up on include using the Java Box Layout, Java ArrayList, and Java Graphics2D.

All of the code follows the video and it is heavily commented. If you have questions, feel free to ask. Everything used is here Zipped Archive

Continue reading Java Video Tutorial 48

Java Video Tutorial 47

Java 2D Graphics TutorialIn this part of my Java Video Tutorial, I cover how to draw 2D graphics in Java. This tutorial will serve as an introduction before I make a paint application with Java.

I cover drawing lines, curves, ellipses, rectangles and numerous other shapes. Then we look at strokes, fills and gradients.

All of the code follows the video and can serve as a cheat sheet, or an additional teaching tool.

Continue reading Java Video Tutorial 47

Java Video Tutorial 46

JDOM2 Video TutorialToday I introduce the easiest way to read and write to XML files using Java. It is call the JDOM2 library. With it you’ll easily read any element, or attribute and create your own.

I introduce 10 libraries and show you numerous methods that will make your life easier in just 14 minutes!

All of the code follows the video to improve the learning process.

Continue reading Java Video Tutorial 46

Java Video Tutorial 45

Java XPATH Video TutorialI received a bunch of emails asking me to make a tutorial on Java XPath. I guess you liked my previous XML XPath tutorial?

XPath can be used to easily grab data from an XML file and into your Java code. I’ll cover how to write to an XML file the easy way in my next tutorial on JDOM2.

All of the code follows the video, and it is heavily commented to help you learn.

Continue reading Java Video Tutorial 45

Java Video Tutorial 44

Parse XML JavaAfter I made my XML Video Tutorial, you asked me to show you how to parse XML with Java. So, that is what I’m doing in this tutorial.

I wasn’t sure how much to cover, because I could literally create a 5 part series on this topic. I decided to cover the basics in the video and provide another example in the code below.

If you want to see more, tell me and I’ll cover more on parsing XML with Java.

Continue reading Java Video Tutorial 44

XML Video Tutorial 7

XML Schema TutorialHere I end my XML Video tutorial by covering complex types, sequence, groups, and a ton more! I also show you how to design schemas and XML files using the Eclipse design tools.

If you missed the past tutorials, here they are based on topic: XML Video Tutorial, XSL Video Tutorial, XPATH Video Tutorial, DTD Video Tutorial, Entity Video Tutorial and part 1 of my Schema Tutorial.

All of the code from the video and more follow the video.

Continue reading XML Video Tutorial 7

XML Video Tutorial 6

XML Schema Video TutorialIn part 1 of my XML Schema video tutorial I introduce you to XML schema files. This of course is a continuation of my XML Video Tutorial.

I talk about schemas, namespaces, the different data types available, how to restrict the data, enumerations and much more.

I thought it would be best to break up this sometimes confusing subject. Use the code below to better understand what I’m doing.

Continue reading XML Video Tutorial 6

XML Video Tutorial 5

XML Entity Video TutorialIn this part of my XML video tutorial, I will cover how to use an entity. I’ll also show you how to combine XML, DTD and XSL files.

You can use an entity to create shortcuts in your DTD files. You create personal codes like those built into XML like &lt; is replaced with <.

Through using these codes you’ll be able to pull data either from within the DTD file, or from external files. All of the code follows the video.

Continue reading XML Video Tutorial 5

XML Video Tutorial 4

DTD Video TutorialIn this part of my XML Video Tutorial, I cover Document Type Definitions (DTD). DTDs are used to define the markup for your XML files.

We use DTD files to make sure data is valid and so multiple people can work together in a standardized way.

It sounds really complicated, but you are just defining what elements are required in the XML file and what type of data each element must have. The code after the video will help you learn.

Continue reading XML Video Tutorial 4

Followers/Following Ratio

Twitter Fail WhaleI’ve been asked for this list for quite some time. Many people are looking for more followers on Twitter. So, I looked for those with the best Followers/Following Ratio.

Those with the best Followers/Following Ratio are most likely to follow you and to follow you quickly. All of the Twitter users are listed below in order.

I’m sure if you are here, you know about the 2,000 follow limit. Also make sure that you don’t go overboard following and unfollowing.

Continue reading Followers/Following Ratio

XML Video Tutorial 3

XML XPATH TutorialThis is a massive tutorial! It could be called a xpath tutorial / xml Template tutorial / XSL Video Tutorial. I cover all of those topics and a whole bunch more.

I’ve also spent a bunch of time looking for common questions about XML and have included those answers in this XML Video Tutorial.

If you missed part 1 of my XML Video Tutorial, check it out first. All of the code follows the video and it’s heavily commented to help you learn XML.

Continue reading XML Video Tutorial 3