Mirrana
Mirrana

Reputation: 1731

Homework assignment using Java/Swing

I've got an assignment in a class about user interfaces and usability testing. I have to do something that I'm sure I can figure out how to do programatically, but I have no experience with swing so I have no idea what components to use to do the job. My background is in C# so I'm fumbling at times trying to find the right component to use in NetBeans.

Based on the description below, can anybody recommend what kind of text field will do the job? I was thinking jFormattedTextField (based on the name) but I can't seem to figure it out.

Thanks


Submit a Java program that will run on the Linux installation in the general lab (EN-2036). Provide the following functionality:

Upvotes: 1

Views: 579

Answers (1)

pengibot
pengibot

Reputation: 1552

Use JEditorPane or JTextpane, these allow you to add style to text inside them

Tutorial Link

Upvotes: 2

Related Questions