Click here to Skip to main content
15,893,266 members
Home / Discussions / Java
   

Java

 
QuestionUser defined Method Pin
MallardsReach24-Mar-20 2:56
MallardsReach24-Mar-20 2:56 
AnswerRe: User defined Method Pin
Richard MacCutchan24-Mar-20 4:18
mveRichard MacCutchan24-Mar-20 4:18 
GeneralRe: User defined Method Pin
MallardsReach24-Mar-20 7:39
MallardsReach24-Mar-20 7:39 
GeneralRe: User defined Method Pin
Richard MacCutchan24-Mar-20 7:44
mveRichard MacCutchan24-Mar-20 7:44 
GeneralRe: User defined Method Pin
MallardsReach24-Mar-20 8:29
MallardsReach24-Mar-20 8:29 
GeneralRe: User defined Method Pin
Richard MacCutchan24-Mar-20 10:16
mveRichard MacCutchan24-Mar-20 10:16 
GeneralRe: User defined Method Pin
MallardsReach24-Mar-20 22:17
MallardsReach24-Mar-20 22:17 
QuestionJTextArea Pin
MallardsReach23-Mar-20 0:48
MallardsReach23-Mar-20 0:48 
OK, so I'm back to using notepad++ in a panel I have a TextBox, Label and Buton all of which show but I have a TextArea that doesn't show, tried various ways but nothing has worked.
Java
private static void placeComponents(JPanel panel)
{
        panel.setLayout(null);
        JTextArea displayTable = new JTextArea("Text Area");
        displayTable.setEditable(false);
        displayTable.setColumns(20);
        displayTable.setFont(new Font("Times New Roman", 1, 14));
        displayTable.setLineWrap(true);
        displayTable.setRows(14);
        displayTable.setWrapStyleWord(true);
        displayTable.setBorder(BorderFactory.createLineBorder(Color.GREEN));
        displayTable.setMaximumSize(new java.awt.Dimension(5, 22));
        panel.add(displayTable);

AnswerRe: JTextArea Pin
Richard MacCutchan23-Mar-20 0:54
mveRichard MacCutchan23-Mar-20 0:54 
QuestionCalling a Method at run time Pin
MallardsReach21-Mar-20 22:32
MallardsReach21-Mar-20 22:32 
AnswerRe: Calling a Method at run time Pin
Richard MacCutchan21-Mar-20 23:29
mveRichard MacCutchan21-Mar-20 23:29 
GeneralRe: Calling a Method at run time Pin
MallardsReach22-Mar-20 0:38
MallardsReach22-Mar-20 0:38 
GeneralRe: Calling a Method at run time Pin
Richard MacCutchan22-Mar-20 0:48
mveRichard MacCutchan22-Mar-20 0:48 
GeneralRe: Calling a Method at run time Pin
MallardsReach22-Mar-20 1:08
MallardsReach22-Mar-20 1:08 
GeneralRe: Calling a Method at run time Pin
Richard MacCutchan22-Mar-20 4:08
mveRichard MacCutchan22-Mar-20 4:08 
GeneralRe: Calling a Method at run time Pin
MallardsReach22-Mar-20 6:00
MallardsReach22-Mar-20 6:00 
QuestionMouse Dragged Event Pin
MallardsReach18-Mar-20 11:15
MallardsReach18-Mar-20 11:15 
AnswerRe: Mouse Dragged Event Pin
Richard MacCutchan18-Mar-20 21:47
mveRichard MacCutchan18-Mar-20 21:47 
GeneralRe: Mouse Dragged Event Pin
MallardsReach18-Mar-20 22:07
MallardsReach18-Mar-20 22:07 
GeneralRe: Mouse Dragged Event Pin
Richard MacCutchan19-Mar-20 0:01
mveRichard MacCutchan19-Mar-20 0:01 
GeneralRe: Mouse Dragged Event Pin
Richard MacCutchan19-Mar-20 0:06
mveRichard MacCutchan19-Mar-20 0:06 
GeneralRe: Mouse Dragged Event Pin
MallardsReach19-Mar-20 0:32
MallardsReach19-Mar-20 0:32 
QuestionBest Practice? Pin
MallardsReach15-Mar-20 9:41
MallardsReach15-Mar-20 9:41 
AnswerRe: Best Practice? Pin
Eddy Vluggen15-Mar-20 13:31
professionalEddy Vluggen15-Mar-20 13:31 
GeneralRe: Best Practice? Pin
MallardsReach15-Mar-20 21:34
MallardsReach15-Mar-20 21:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.