Solved

Create a JPanel with a Name displaying at the top in Netbeans

Posted on 2009-04-06
3
1,297 Views
Last Modified: 2013-12-14
I am currently using netbeans and how do I display the name on the JPanel as shown in the picture from Netbeans?
gui-screenshot.GIF
0
Comment
Question by:namsu55
  • 2
3 Comments
 

Accepted Solution

by:
namsu55 earned 0 total points
Comment Utility
Found it, under border properties, it is titled border.
0
 
LVL 12

Expert Comment

by:basav_com
Comment Utility
setBorder(BorderFactory.createTitledBorder(title));



0
 
LVL 12

Expert Comment

by:basav_com
Comment Utility
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
count7 challenge 12 67
stringclean challenge 26 54
The line on IDE 4 34
how do i compare an object based on two fields 6 28
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now