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

XML Video Tutorial 2

XSL Video TutorialIn part 1 of my XML Video Tutorial, I covered the basics of creating an XML file in Eclipse. In this tutorial, I teach you how to use eXtensible Style Language (XSL).

I can’t even briefly cover everything in this tutorial. Suffice to say, I show you how to do just about anything you’d ever want to do with XSL. At least I covered everything I could fit in a 15 minute video.

Use the code below to help you better understand XSL.

Continue reading XML Video Tutorial 2

XML Video Tutorial

XML Video TutorialI recently asked what tutorial you’d like to see next. The most popular request was for a new XML Video Tutorial. So, since I can make this pretty quickly I decided to cover XML now.

When you start learning XML it seems very simple. That however changes very quickly. In the next few tutorials, I’ll do my best to make learning XML much easier.

The code that follows the video will help you learn.

Continue reading XML Video Tutorial

Java Video Tutorial 43

Java Server Pages Video TutorialHere is part 1 of my Java Server Pages video tutorial. To completely understand everything you need to see my Java Servlet Video Tutorial.

Unlike Java Servlets a JSP file allows you to easily co-mingle HTML, JavaScript and Java code all in one file. You do that by placing different types of Java code in special brackets.

It sounds harder than it is and after this video you’ll be writing your own JSPs. The code follows the video to help you learn.

Continue reading Java Video Tutorial 43

Java Video Tutorial 42

Java ServletsIn this part of my Java Video Tutorial, I continue what I started in my Java Servlet Video Tutorial. If you haven’t seen it, you need to before you can try this code out.

I’ll show you how to pass form data to a Java Servlet using both the GET and POST method. I also cover the web.xml file and much more.

The code follows the video, to help you learn. Also vote on what my next tutorial should be on below.

Continue reading Java Video Tutorial 42

You’re Invited

Derek Banas GravatarI haven’t been able to upload a video recently because YouTube has been acting crazy. I’ll put one up as soon as possible.

I have received many questions recently about myself. Feel free to Friend me on Facebook if you’d like. I always accept all friend requests. I actually find people I don’t know to be much more interesting.

Also, feel free to ask any questions you have about me below. I’ll answer most any question.

Continue reading You’re Invited

Java Video Tutorial 41

Eclipse ServletsIn this part of the Java Video Tutorial, I’ll show you how to make Java Servlets in Eclipse.

I’ll cover how to set up Tomcat to work with Eclipse. I’ll also show you how to fix the restricted library error, how to set up Eclipse tool tips and more.

If the video is to fast, I list everything below step-by-step. All of the code also follows the video.

Continue reading Java Video Tutorial 41

Convert Any Video Format for Free

Convert Any Video Format for FreeI recently went to Niagara Falls and I needed a program to convert MTS files. Most of the programs cost $40 plus, but then I found Handbrake.

Handbrake converts most any video formats to a handful of modern ones being MP4 and MKV. Handbrake converts videos for Mac as well as PCs.

It is an extremely easy program to use. Just follow the directions below while saving yourself $40.

Continue reading Convert Any Video Format for Free

Java Video Tutorial 40

Java JAppletI have received the following requests many times over the past week. Make a Java JApplet Tutorial. Show me how to turn your Personality Test into a Java application.

So, in this tutorial I will do both! I also provide a review of many things I’ve covered, while providing a few new tricks.

All of the code follows the video and it is heavily commented. If you struggle with learning anything the code will help you through.

Continue reading Java Video Tutorial 40

Java Video Tutorial 39

Java JEditorPaneIn this part of the Java Video Tutorial, I cover the JEditorPane Swing component. It allows you to both display rich text and HTML documents.

I also cover how to listen for events in JEditorPane, when users click on links for example. These events are handled by HyperlinkEvent and HyperlinkListener.

Because some people are having trouble with Eclipse, I also show how you can get Eclipse to do some coding for you.

Continue reading Java Video Tutorial 39

Java Video Tutorial 38

Java JTables Writing to a DatabaseIn my previous JTable Video Tutorial I showed you how to pull information from a database and work with it in a JTable.

In this tutorial I show you how to add and delete rows in a JTable that will then effect the database. I also cover allowing the user to change the database on a cell basis.

After this tutorial, you’ll be able to do anything with Java JTables.

Continue reading Java Video Tutorial 38

New Personality Test

Personality TestA few years ago I built a personality test based on the Myers-Briggs Type Indicator and the Keirsey Temperament Sorter. My aim was to make a personality test that worked, but also was easy to use.

Over time many people have asked me to improve a few things with that original test. I can finally say that I fixed everything.

Below you will find a presentation with all of the questions, an answer sheet,

Continue reading New Personality Test

Java Video Tutorial 37

Java JTables MysqlIn this part of my Java Video Tutorial, I continue showing how to use JTables with MySQL. You’ll learn how to pull information from a database, add a row, delete a row, convert a String into a SQL Date and much more.

If you haven’t seen my Java Swing Tutorial watch it first. Part 1 of my Java JTable Tutorial should also be seen first.

I explain how to load the database below. I also have all of the code.

Continue reading Java Video Tutorial 37

New Riders MySQL Code

New Riders MySQL CodeWell over a decade ago, a book came out simply titled MySQL by Paul DuBois. Everyone I know learned about MySQL from this book.

I guess I mentioned in the past that I liked this book and ever since I get requests for the code from the book. I guess it isn’t available online anymore?

So, here I gather together all of the code in one place. So, I can just point people to it from now on 🙂

Continue reading New Riders MySQL Code

Java Video Tutorial 36

Java JTable TutorialI’ve been asked to make a Java JTable tutorial by many people. Today I’ll show you how to display database query results from my Sabermetrics Tutorial into a Java JTable.

I then cover most everything about Java JTables. How to display data into a JTable. How to change fonts in a JTable. How to change row height in a JTable. How to sort a JTable. How to align a JTable column and much more.

All of the code follows the tutorial and it has even more tricks.

Continue reading Java Video Tutorial 36

Baseball Sabermetrics

baseball sabermetricsPreviously I made a couple of Baseball Sabermetrics videos and it was a lot of fun. In this Sabermetrics tutorial I’ll cover a few of the Sabermetrics formulas I missed.

One question I received from a few of you was which team uses Sabermetrics most effectively. You’ll find that answer in the first query below named TTRC for Teams.

I also show how to perform many Sabermetric Pitching formulas below.

Continue reading Baseball Sabermetrics

Sabermetrics 3

Sabermetrics BaseballI continue covering some neat Sabermetrics formulas in this video. If you missed part 1 of my Sabermetrics Tutorial, check it out first.

I’m going to cover a few new complicated formulas including: Theoretical Team Runs Created, Batting Average on Balls in Play, Weighted On Base Average and more. I’m also going to show you how to easily save queries using views.

This tutorial has been a great deal of fun. All formulas follow the video.

Continue reading Sabermetrics 3

Sabermetrics 2

Sabermetrics BaseballHere I continue my Sabermetrics Baseball tutorial. If you missed part one, check it out first because in it I show you how to get all of your tools. It is here Sabermetrics.

I’m going to introduce a few new SQL functions being CONCAT, COALESCE and HAVING.

We will also calculate the top players based on RBIs, HRs, Batting Average, On Base Percentage, and Slugging Percentage. And, I’ll show you how to pull in data on the players position and their salary.

Continue reading Sabermetrics 2

Sabermetrics

SabermetricsIn this article I introduce you to the world of Sabermetrics. Sabermetrics is the analysis of baseball statistics to measure player performance, in game probabilities and much more.

With Sabermetrics you’ll be able to do most anything from decide who was the greatest hitter of all time to analyze the probability that your team will win.

But, to get started with Sabermetrics, you need to first get your tools being MySQL and a Baseball Stat Database. Both are free! More info follows the video below.

Continue reading Sabermetrics

Java Video Tutorial 35

Common Java ErrorsOne of you guys asked me to do a tutorial on Fixing Java Errors. I thought it was a good idea, so here I’ll show you over 30 common Java errors.

Sometimes it is hard to figure out what Cannot be Resolved, Syntax Error on Token, or Method is not Visible mean. But, after watching this video you should better understand.

Also, you’ll learn how to get Eclipse to help you fix Java errors.

Continue reading Java Video Tutorial 35