Desktop Programming

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

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

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

Help Wanted: Developers Who Are Also Janitors

Once, long ago, I use to be a janitor cleaning up after executives in office buildings as I put myself through school. At the time I would be sweeping the floors as I saw some of those workers crunching through their spreadsheets late at night getting ready for their presentations the next day. One guy I saw did a lot of print shop type of stuff, graphic work, troubleshooting etc ...