Solved

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

Posted on 2009-04-06
3
1,307 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

729 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