Solved

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

Posted on 2009-04-06
3
1,306 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Accepted Solution

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

Expert Comment

by:basav_com
ID: 24083543
setBorder(BorderFactory.createTitledBorder(title));



0
 
LVL 12

Expert Comment

by:basav_com
ID: 24083547
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

732 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