Desktop Programming

Desktop programming related articles not related to .NET (Java, Python, Ruby etc)

Counting Number Frequency in Java

Over the past couple weeks I have noticed a lot of students asking questions about counting number frequencies. The student is often generating, or asked to take in input, and count how many times a series of numbers appear in the data. Sometimes they are given a file for the input and other times they are asked to take in numbers entered by the user and count them. So I ...

Serializing and Deserializing XML Through a URL Endpoint in C#

Recently, at the company I work for, I had to merge two very different web sites together. While both use C#, that is where they pretty much stopped in similarity. We were exploring ways to have them talk to one another very plainly and transmit only minimal amounts of data. One website was a store which was built around the idea of digital products and it had to talk ...

Quick Tutorial: Building Menus Dynamically With the MenuStrip Control in C#

One of the easiest ways to build a menu on Winforms is by simply dragging and dropping a MenuStrip control from the toolbox on your form and then go to town filling in menu text and attaching events. Most of the time this is the way to go and works for the majority of programs out there. What we will cover this time around is just a few examples of ...

Demo of Twitter Application-Only OAuth Authentication Using Java

I found that there was little in the way of examples using Application-Only OAuth for Twitter using Java. So I thought I would put together the basics for those looking for the same thing. This demo example below shows you how to acquire a bearer token and then using that token to issue requests to Twitter's REST API version 1.1. However, only endpoints that don't need to have a user ...

My 10 Favorite Sublime Text Tools and Shortcuts for Beginners

Back almost 16 years ago when I first got into developing text editors pretty much had Microsoft Works and Notepad. Then of course if I wasn't writing a paper for school or anything then Works was a bit of overkill... so notepad it was. I was a notepad user for many years and still use it from time to time for when I need to clean something up (remove formatting ...

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 ...