working on Lab below, what is need is in Java comments. Trying to complete this lab an another by 4 pm
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class NotePadFrame extends JFrame
{
// instance variables
JButton openButton;
JTextArea textArea;
// Constructor
public NotePadFrame()
{
add(dataPanel(), [login to view URL]);
add(createControlPanel(), [login to view URL]);
}
// helper methods
/**
* Create the control panel for the south
*/
private JPanel createControlPanel()
{
JPanel panel = new JPanel();
JButton openFileButton = new JButton("Open File");
// need to create an OpenListener and register it with the button
// ** add code here ==>
//
[login to view URL](openFileButton);
return panel;
}
private JPanel dataPanel()
{
JPanel panel = new JPanel();
textArea = new JTextArea(20, 40);// set preferred size
// 6 lines, 40 columns
[login to view URL](true); // make it wrap
[login to view URL]("Click button below to open file"); // set the contents
JScrollPane scrollPane = new JScrollPane(textArea); // put TextArea in a scrollpane
[login to view URL](ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
[login to view URL](ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
[login to view URL](scrollPane);
return panel;
}
// inner classes
/**
*
* Handle user events in an inner class ActionListener
* Could be an ActionListerner or other type of
* listener
*
*/
class OpenListener implements ActionListener
{
public void actionPerformed(ActionEvent ae)
{
// add code to open a file using a file dialog
// read it and add it to the JTextArea widget
[login to view URL]("Ive been clicked");
}
}
}
Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my Java and algorithm skills. I am focused mostly on doing computer science homework here in freelancer.com and I would like to help you get this project done if you would give me the opportunity. I am a computer science professor and practitioner and this assignment is one of the fields that I teach very well so I can assure you an accurate result.
HI
Contact me for an efficient, well documented and perfect solution
and development of your project. I ensure quality work with always
on time delivery of project and dedicated support and follow up.
Thanks
Farah Saif
Hi
I have 4+ years experience in Java. I have completed more than 60 projects so far. I have done Notepad application in Java Swing. Please send me a message so that we can discuss once.
Thanks
Hi,
How are you ?
I saw this project posted nearly half an hour before & I can do it for you within the time frame .
(Actually I have setup eclipse & started the implementation).
I'll be done with the project in next 30 mins & once you award the project, I'll just add comments & send the files to you.
Waiting for you to confirm :)
regards
Tapsi
Hello, I'm Ahmed Abdallah a fourth year student at computer and systems engineering department
at Alexandria university. I'm a java expert (3+ years of experience). I'm very good at android, C/C++,
data structures, algorithms and OOP concepts.
I've already finished the requirements and ready to submit the code right now. Just award me the project and I'll send you the code.
Thanks