Java Swing: Auto-Scrolling JScrollPane (i.e. Chat Window)

This is just a short tutorial on how to make an auto scrolling pane in Java Swing. I was doing a chat client not too long ago, so I figured I’d assemble this short Swing tutorial for those interested in this particular behavior. This uses a JTextArea and a JScrollPane. I commented most of the lines, but I invite you to refer to the Java API for methods you don’t fully understand. Feel free to ask questions or suggest improvements in the comments section! Click here for the code.

Auto-Scrolling JTextArea/JScrollPane

Read more…Java Swing: Auto-Scrolling JScrollPane (i.e. Chat Window)

CyanogenMod 10 Nightlies (SGS1 Captivate)

So, since last week, I’ve been updating my phone (Samsung Galaxy S Captivate) with the newest and latest experimental updates of CyanogenMod 10 (Android 4.1, code name Jelly Bean).

As expected, nightly builds are buggy. Very buggy. And unreliable. At first, they usually work, but then they progressively slow down, and become bloated. On top of that, the battery as been constantly getting drained in a matter of a few hours, whether I’m using the phone or not. It’s strange, but it seems to be getting better with each update.

Nevertheless, I continue to update. The latest CM9 RC (Release Candidate) 2 was very stable, and I’m fairly certain that not that much as changed between 4.0.4 and 4.1, besides minor UI changes, and the addition of Google Now’s app, the mute competitor to Apple’s Siri.

Thus, I’m fairly certain that as moders adjust CyanogenMod 10 for the Galaxy S1 progressively, it will work just as well as 4.0.4 did.

I’ll be keeping you posted.

Read the rest of this entry for my latest update on CM 10 for the Samsung Galaxy Captive (September 19th, 2012)

CyanogenMod 10 on my Captivate

Read more…CyanogenMod 10 Nightlies (SGS1 Captivate)

Review: SteelSeries Siberia V2 USB Gaming Headset

This is a comprehensive consumer review of the SteelSeries Siberia V2 (USB Edition) – Gaming Headset. This is my attempt to deliver a comprehensive opinion and comparison with other headsets I have owned in the past.

I will go over what makes a good gaming headset: sound, build quality, microphone, and price. From my experience purchasing headsets over the past few years, it’s overloaded with oft poor quality products that tend to either break easily, or simply cease to work after a few months of regular use.

I’ve owned Logitech, Creative, Corsair and now my first SteelSeries headset. I use a headset on a daily basis, most often for several hours at a time, so I need them to be comfortable and require for my sound to work optimally at all times. Does the SteelSeries Siberia V2 achieve that? Let’s find out.

SteelSeries Siberia V2

Cyanogen Mod 9 (Android 4.0.4) on SGS1

A little more than a year ago, I went on Craigslist to look for an Android smartphone at a decent price. I managed to get my hands on a Samsung Galaxy S Captivate. It came with Android 2.3. My friend had told me about how one could ‘root’ the device and truly make it your own. Shortly thereafter, I looked into CyanogenMod 7.1. Fired it up and it changed everything about the phone.

CM7.1 was merely an improvement on Android 2.3 (known as Gingerbread). The UI was still somewhat sluggish when compared to the likes of Apple’s iOS. With the release of Android 4.0 (Ice Cream Sandwich) right around the corner, I couldn’t wait to try it out.

Sadly, Samsung refused to update the Galaxy S1 to 4.0. They claimed that the hardware simply could not handle it (which is a lie). My assumption behind this move was simply to boost sales on their newer devices, forcing owners that wanted the “new and upgraded Android” to buy a new device altogether. It was a frustrating move, but not unheard of in the modern day tech industry.

This is where the genius of the Android community really kicked in for me. A team of programmers called teamhacksung ripped Android 4.0 from the Samsung Galaxy Nexus and tweaked it to function on the Galaxy S1. They updated it constantly up until last March 2012. [See the thread here: http://forum.xda-developers.com/showthread.php?t=1363760]

The teamhacksung version intended to be the ALPHA of CyanogenMod 9. Thus, today, I went over to the CyanogenMod website and downloaded a Nightly build of CM9 (that was updated today). I also had to download the latest Google Apps package for CM9 (download here).

I just installed it on my phone a few hours ago, and it is working magnificently, improving over the last ALPHA of teamhacksung. Note that it could be faster at times, but for a single-core smartphone, it’s handling Android 4.0.4 just fine.

As I tweak and fiddle around with the CM9 customization option, I will be eagerly waiting for CyanogenMod to release their spin off of Android 4.1 (Jelly Bean). As soon as it is available, I will test it out and share the details. (Updated!)

CyanogenMod 9 Cid

Cid: The new CyanogenMod mascot! Click on the image for more info on Cid.

Read more…Cyanogen Mod 9 (Android 4.0.4) on SGS1