• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Netbeans Design View

 
Greenhorn
Posts: 28
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hae, am using netbeans to create GUI but i can`t go to design view in netbeans 8.0.2.
i have even tried netbeans 7.4 and it is the same.
 
Ranch Hand
Posts: 529
19
Eclipse IDE MySQL Database Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you created JFrame in your project ?
 
james kinyua
Greenhorn
Posts: 28
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes. i have extended JFrame in my class
 
Bartender
Posts: 5530
213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi James,

it's not enough to simply add a new class to your project, whether
you extend it to a JFrame, JPanel or not.
You have to specifically add "JFrame Form' or 'JPanel Form'. You can do this
when you right click your project or package in the project panel,
and choose for 'new'. There you see these options.

Greetz,
Piet
 
james kinyua
Greenhorn
Posts: 28
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Piet.

The Design layout is now there but i have one more problem, i wanted to drag and drop Jlabels and JTextFields but i cannot see them.
 
Ganish Patil
Ranch Hand
Posts: 529
19
Eclipse IDE MySQL Database Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Double click on a class file which extended JFrame or JPanel from NeatBeans, not hard coded by hand as Piet said, then right click on screen you will get a pop up menu.
In that Add From Palatte-->Swing Controls-->Label or whichever control you want. At the right side of the screen, below the close button of NetBeans, on 3rd row there is two tiny square brackets overlapping each other click on that you will see this Palatte window.
see these images you will get that though won't understand just search tutorials o youtube.
 
He's my best friend. Not yours. Mine. You can have this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic