Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wrldwzrd89

macrumors G5
Original poster
Jun 6, 2003
12,110
77
Solon, OH
I've recently discovered NetBeans, a Java IDE, and decided to switch to it from Eclipse, since Eclipse has given me nothing but problems on my Intel Mac, and NetBeans has a GUI builder.

Anyway, some of you may know about Dungeon Diver - this project, along with all its dependencies, needs to get converted over to the NetBeans system. Complicating matters is the fact that I'm also switching project types, from Java Application to Java Desktop Application, and converting over all my old code to use the new GUI layout manager.

I've already done the preliminary steps of converting all the libraries Dungeon Diver uses from Eclipse projects to NetBeans projects. Now, I just need to make this massive transition of all my GUI code... which is going to be a pain. Are there any plugins for NetBeans, or features of NetBeans, that can make such a task easier? For example, I'm going to need to mass-rename old function calls. I haven't found an easy way to do this in NetBeans yet.
 

yeroen

macrumors 6502a
Mar 8, 2007
944
2
Cambridge, MA
A good example of why you should always just use emacs :)

How complicated is the GUI? Would it be worth it just to redo the layout from scratch in Netbeans GUI builder and implement the callbacks with (portions of) the original code?
 

wrldwzrd89

macrumors G5
Original poster
Jun 6, 2003
12,110
77
Solon, OH
A good example of why you should always just use emacs :)

How complicated is the GUI? Would it be worth it just to redo the layout from scratch in Netbeans GUI builder and implement the callbacks with (portions of) the original code?
As far as redoing the GUI goes, I think that's exactly what I'm going to end up doing.
You mean besides using the Refactor menu?
I must admit, I haven't explored all the options in the Refactor menu - I don't know if there's something there that will do what I'm looking for.
 

jeremy.king

macrumors 603
Jul 23, 2002
5,479
1
Holly Springs, NC
I must admit, I haven't explored all the options in the Refactor menu - I don't know if there's something there that will do what I'm looking for.

You find that you have many of the same options as Eclipse - if you want to rename a method, select Rename and all of the references will be updated. You can chose to preview before doing so.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.