NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How can I get a GUI preview on java source code just as using SWING GUI form.

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
KevinQ



Joined: 29 May 2011
Posts: 1

PostPosted: Fri Jun 10, 2011 7:52 am    Post subject: How can I get a GUI preview on java source code just as using SWING GUI form. Reply with quote

I just download some GUI source codes in Java. It's not a SWING GUI form , but I wish to preview that GUI just as the design view .
I post a one of the sample source code below.



UserLoginUI.java
 Description:

Download
 Filename:  UserLoginUI.java
 Filesize:  3.6 KB
 Downloaded:  116 Time(s)

Back to top
tusharvjoshi



Joined: 15 Aug 2008
Posts: 298
Location: Nagpur

PostPosted: Sat Jun 11, 2011 4:31 am    Post subject: How can I get a GUI preview on java source code just as using SWING GUI form. Reply with quote

On Fri, Jun 10, 2011 at 1:22 PM, KevinQ <address-removed ([email]address-removed[/email])> wrote:
Quote:
I just download some GUI source codes in Java. It's not a SWING GUI form , but I wish to preview that GUI just as the design view .
I post a one of the sample source code below.



You cannot do that unless the GUI was created in NetBeans IDE using Matisse GUI designer.  When you design the GUI in NetBeans IDE a file with .form extension is also created, that file is needed to open the GUI classes in designer.

 
with regards
Tushar


Tushar Joshi, Nagpur: http://www.tusharvjoshi.com

* MCSD_NET C#, SCJP, RHCE, ZCE, PMP

* Architect: http://www.persistentsys.com
* NetBeans Dream Team Member: http://dreamteam.netbeans.org
* DZone Most Valued Blogger: http://netbeanside61.blogspot.com
* Java User Group Nagpur Leader: http://www.jugnagpur.com

* LinkedIn: http://www.linkedin.com/in/tusharvjoshi
Back to top
Devon



Joined: 03 Jun 2009
Posts: 21

PostPosted: Fri Jun 17, 2011 3:23 am    Post subject: How can I get a GUI preview on java source code just as using SWING GUI form. Reply with quote

Search netbeans.org for Form Generator Module. It's a contributed module that can sometimes generate a .form file from java source. It's primarily for recovering when you lose the .form file, so your mileage may vary.

On Fri, Jun 10, 2011 at 11:52 PM, Tushar Joshi <address-removed ([email]address-removed[/email])> wrote:
Quote:
On Fri, Jun 10, 2011 at 1:22 PM, KevinQ <address-removed ([email]address-removed[/email])> wrote:
Quote:
I just download some GUI source codes in Java. It's not a SWING GUI form , but I wish to preview that GUI just as the design view .
I post a one of the sample source code below.




You cannot do that unless the GUI was created in NetBeans IDE using Matisse GUI designer.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo