• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Netbeans gui question, switching from SE to EE, or 1 class to another?

 
Ranch Hand
Posts: 356
Android Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay so I have a class that I built about 160 menu items. I was curious if it's possible to be able to save that gui info and transfer it from Java SE to EE? I don't even think I can copy the code since the gui code is not editable... Even redoing the parts of code isn't an issue, it's the gui builder part I'm more worried about. It took a lot of time to do this, so I don't want to waste more.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IDE questions are more suitable for the IDE forum.
Moving....
 
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jay Orsaw wrote:Okay so I have a class that I built about 160 menu items. I was curious if it's possible to be able to save that gui info and transfer it from Java SE to EE? I don't even think I can copy the code since the gui code is not editable... Even redoing the parts of code isn't an issue, it's the gui builder part I'm more worried about. It took a lot of time to do this, so I don't want to waste more.



Hi, I am not sure I fully understand what you mean by "from Java SE to EE"?
I guess you want to convert menu items from a Swing app to a JSP page? If so, it is impossible because in JSP you have to use Javascript/HTML to build the menu which is very different than Swing's menu items.
 
Jay Orsaw
Ranch Hand
Posts: 356
Android Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Haina Minawa wrote:

Jay Orsaw wrote:Okay so I have a class that I built about 160 menu items. I was curious if it's possible to be able to save that gui info and transfer it from Java SE to EE? I don't even think I can copy the code since the gui code is not editable... Even redoing the parts of code isn't an issue, it's the gui builder part I'm more worried about. It took a lot of time to do this, so I don't want to waste more.



Hi, I am not sure I fully understand what you mean by "from Java SE to EE"?
I guess you want to convert menu items from a Swing app to a JSP page? If so, it is impossible because in JSP you have to use Javascript/HTML to build the menu which is very different than Swing's menu items.



Maybe I'm more confused.. I have only been using SE for now, but I heard for business applications you want to use EE, so wouldn't it just have extra featuresa, why exactly do you have to use JSP?

I am mainly trying to figure out how to save gui work if I need to move it around from 1 class to another, or would I make it into a bean? I'm not really familiar with all of this, I'm trying to learn it all, it's my next project .
 
Sheriff
Posts: 67682
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jay Orsaw wrote:but I heard for business applications you want to use EE



Hogwash. You use JEE if you need JEE. What feature available in EE have you identified that you need? EJBs? Other? If the answer is "none" and your app is working fine under SE, then there's no need to to even think about EE.

 
Jay Orsaw
Ranch Hand
Posts: 356
Android Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:

Jay Orsaw wrote:but I heard for business applications you want to use EE



Hogwash. You use JEE if you need JEE. What feature available in EE have you identified that you need? EJBs? Other? If the answer is "none" and your app is working fine under SE, then there's no need to to even think about EE.



I know I need to use beans, but I'm not sure what the specifics of EJB are vs JB. I read a little into it, but not too much... I'm still overall looking at what I will need, if I don't need EE then I wont, but it seemed like the way to go, what are your thoughts on it?
 
Bear Bibeault
Sheriff
Posts: 67682
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You didn't answer the questions: is your app working fine already? What do you need from EE?

A vague "I think I might need it" isn't sufficient.

P.S. JavaBeans and EJB have little to nothing to do with each other,.
 
Jay Orsaw
Ranch Hand
Posts: 356
Android Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:You didn't answer the questions: is your app working fine already? What do you need from EE?

A vague "I think I might need it" isn't sufficient.

P.S. JavaBeans and EJB have little to nothing to do with each other,.



My application isn't written yet. The file menu is however.

Also my main question is how am I able to save my gui work and transfer it if I ever need to use my menus again, would that be in a bean?
 
What are you saying? I thought you said that Santa gave you that. And this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic