• Post Reply Bookmark Topic Watch Topic
  • New Topic

Import eclipse windowbuilder project to netbeans

 
Peter Ream
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was not sure whether to post this here or in the beginning java forum. Let me give you a little bit of background. I am very new to java. I wrote my first java program while reading about java. The program is a golf handicap program (add scores, course, etc. generate all aspects of a handicap). I wrote this using eclipse IDE. I used tabbed panes for all my panels and absolute layout (I got that from a youtube GUI tutorial). I completed the project. As I read more about java, I decided I took the wrong approach. I decided card layout with different layouts (not absolute) would be better. I have finished the project a second time. The card layout worked out well. I still have a little tweaking to do. The hardest part was developing my panel layouts. For the majority, I use border layout intermixed with gridbag layout. I could not get what I wanted through eclipse windowbuilder, so most of my panels are home built. Some I can see pretty accurately in design mode, but mostly not. I like the idea of using windowbuilder for basic design and then tweak manually. I have now entered phase 3 of my process, try netbeans instead of eclipse. Maybe it will have better panel design? I would like to use what I have already done. I thought I read somewhere where you cannot import an eclipse windowbuilder program into netbeans. Is that true? I would like to try my program with development in netbeans without reinventing the wheel. I've tried a simple GUI tutorial in netbeans and like what I see. Any help would be greatly appreciated.
 
Les Morgan
Rancher
Posts: 717
17
C++ Java MySQL Database Netbeans IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NetBeans has an import eclipse project option in the file menu, what that will do with the auto-code I haven't a clue, auto-code has always been a problem in every IDE I have ever used when converting from one project format to another. When it comes down to it, if you can get a ".java" file, then you can include that in your source in your new NetBeans project.
 
Peter Ream
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Les Morgan wrote:NetBeans has an import eclipse project option in the file menu, what that will do with the auto-code I haven't a clue, auto-code has always been a problem in every IDE I have ever used when converting from one project format to another. When it comes down to it, if you can get a ".java" file, then you can include that in your source in your new NetBeans project.


I guess by auto-code, you mean what the design functions of eclipse and netbeans produce. I have imported eclipse programs, but have been unable to get any of this "auto-code" to import. In eclipse, you can open any previously written code with "open with" and select "WindowBuilder Editor" and the "auto-code" is generated. Nothing like this in netbeans?
 
Les Morgan
Rancher
Posts: 717
17
C++ Java MySQL Database Netbeans IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes BetBeans has an auto-coder too. Auto-coding is a problem across the board when you want to change development tools. I have never seen auto-code that translates well from one development system to another. In NetBeans you can remove your code from the autocoder and then maintain it in a ".java" file along with the rest of your code. I'll assume that Eclipse will do the same. Once you do that though, it will not longer be maintained by the autocoder.

BTW: the autocoders produce some of the ugliest code I've ever seen, possibly why they don't like to import eachother's work.

Peter Ream wrote:
Les Morgan wrote:NetBeans has an import eclipse project option in the file menu, what that will do with the auto-code I haven't a clue, auto-code has always been a problem in every IDE I have ever used when converting from one project format to another. When it comes down to it, if you can get a ".java" file, then you can include that in your source in your new NetBeans project.


I guess by auto-code, you mean what the design functions of eclipse and netbeans produce. I have imported eclipse programs, but have been unable to get any of this "auto-code" to import. In eclipse, you can open any previously written code with "open with" and select "WindowBuilder Editor" and the "auto-code" is generated. Nothing like this in netbeans?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!