Frame problem "Java"?
-
hi , if anyone can help me on the use of JFrame and JtextArea well i am trying to write a method that will create a frame displays two text areas (JTextArea) in a grid layout (1 row, 2 columns). The first text area will be used to display the contents of the original array, before sorting, and the second one will be used to display the array contents sorted. that how far i wrote and i really dont know where to go from here public static void displayResults(JTextArea area, Room[] rooms,int length) { textArea.setEditable(false); for ( int i = 0; i < rooms.length; i++ ) { textArea.append(rooms1[i]+"\n"); } JFrame bigTextArea = new JFrame("Queens College Rooms"); bigTextArea.setDefaultCloseOperation(JFr… bigTextArea.setSize(400,600); bigTextArea.getContentPane().add(textAre… BorderLayout.CENTER); bigTextArea.setVisible(true); }
-
Answer:
I can't copy and paste all of your code. It looks like Yahoo! Answers truncates your longer lines of code and replaces your code with ellipses. I'm not able to send an email to you through Yahoo! Answers, but you can send one to me if you want me to help you with this.
moussa55... at Yahoo! Answers Visit the source
Related Q & A:
- How to add buttons and panels in frame in java?Best solution by Stack Overflow
- How to Implement Gateway Service something similar to Oracle API gateway Using Java and Java based Open Source frameworks only?Best solution by Quora
- Difference between Java 2 and Java 6?Best solution by Yahoo! Answers
- Why am I having this problem with java or Windows Installer?Best solution by Yahoo! Answers
- What is the difference between Oakley A Frame and O Frame?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.