Posts

Eclipse Window Builder VS Netbeans GUI Builder (Matisse)

Java is a great programming language but it has a big flaw - it's GUI framework sucks! I am talking about building simple client-side applications. If you don't want to mess with any web gui framework then you are bound to use swing. You can always build swing writing the text and imagining how it will work but any smart programmer will search for a nice Swing GUI builder which will enable him/her to have a WYSIWYG sort of framework to work with. There are several options of WYSIWYG frameworks to pick from, the most noticeable till the July (2011) was Netbeans' "Matisse" GUI builder. There were others of course but none as free or as good as Matisse. The biggest flaw of Matisse is that it doesn't reside on the best IDE out there - eclipse, but it can be found only on netbeans which isn't as good as Eclipse (Doesn't even have a "hover" feature to name one great flaw of netbeans) so if you want to build a GUI suppo...

Setting up an Android development environment in a nutshell

If you want to begin developing for the android platform - which components will you need to install? In a nutshell: Install latest JDK http://www.oracle.com/technetwork/java/javase/downloads/index.html Install the latest eclipse IDE "Eclipse IDE for Java Developers" http://www.eclipse.org/downloads/ Install the latest Android SDK http://developer.android.com/sdk/index.html Run the SDK manager after installation and install all of the packages you might need (retain default packages and add additional ones if need be). Install latest ADT (eclipse android plugin) Run eclipse, choose help --> Install new software https://dl-ssl.google.com/android/eclipse/ Configure eclipse and point it to the JDK and to the android SDK. Have a nice android day   :-) Avi.

SCummVM for Android

THIS ARTICLE ISN'T LONG! -- First section = 3 terms related to this topic briefly explained -- Second section = Main article - how to install SCummVM on your android (even new androids) -- Last section = UNIMPORTANT, feel free to skip it, it's only a list of games compatible with your android after installing SCummVM ----------------------------------------------------------------- SCummVM - Lucasarts' gaming engine used for their good old games / quests like Maniac Mansion, Indiana Jones, Monkey Island etc. AGI - Sierra's first gaming engine used for their good old quests like King's Quest, Larry quests, Police quests, Space quests. SCI - Sierra's second gaming engine used for their newer games (since about 1990), the quests programmed with this engine didn't need the text parser but used the mouse for every action needed during the game. If you have an Android machine (cell phone, tablet) and want to play any game which u...

Free SVN

I have these small java projects I like to work on. Mostly I work on them from home, but from time to time I like to work on them using my laptop or if I have an idea while working on other projects, I want to add a feature on work. The problem is that the source code is at my house on my main computer, so if I want to work on the code elsewhere, I send the code to myself using my gmail, work on it whereever I want and reupload the code to my main computer. Well, that is a pain in the ... neck. So I got to the conclusion I must use some sort of version control. I picked SVN, because that's what we have at work, then installed a SVN server at my house, got a static IP (using dyn-dns) and used my SVN for my java projects. It worked. But it's not the best way working those things out. First of all, my computer isn't on 24\7 Second - my home computer isn't 100% secured as expected from regular servers. Third - My computer may crash at any time - then wh...

Best free FTP program

There is no debate, if you need a good and free FTP program just run and download filezilla, and don't let anyone else tell you otherwise. But what will you do when filezilla fails you? Which program will you use? It seems that most free FTP programs are shitty (sorry for the word - but they really are), but if filezilla isn't a solution try the following next 2 best options (which are reasonable enough even though they are under filezilla's league): * CoreFTP (the free version) * LeechFTP If you have any other (better?) free ftp program, please add it in the comments.

King Quest Remakes

So you want to be king. If you ever have that nostalgic mood and want to jump and play those good old king quest games, there is no need for a dosbox and the old text parsing games. King Quests 1-4 have beautiful remakes with improved plots and a much better point and click interface. Who created them? - fans. Where can you find them? It appears that three different groups had taken on themselves to remake the quests. King Quest 1 & 2 were remade by AGDInteractive King Quest 3 was remade by infamous adventures King Quest 4 is being remaked by Magic Mirror Games

Iterate over your whole DB using hibernate

In this post I'll assume you already have your hibernate object corresponding to your DB schema. What will we try to achieve here? I will iterate all of the DB using hibernate objects, and here is a little java program which will attempt to achieve just that: import org.hibernate.cfg.AnnotationConfiguration; import org.hibernate.HibernateException; import org.hibernate.SessionFactory; import org.hibernate.Session; import org.hibernate.Query; import org.hibernate.metadata.ClassMetadata; import java.util.Map; /** * Created by IntelliJ IDEA. * User: avih * Date: May 11, 2010 * Time: 7:43:37 AM */ public class Main { private static final SessionFactory ourSessionFactory; static { try { ourSessionFactory = new AnnotationConfiguration(). configure("hibernate.cfg.xml"). buildSessionFactory(); } catch (Throwable ex) { throw new ExceptionInInitializerError(ex); } } ...