Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

Java Programming

trejozach
trejozach 


Would really appreciate if someone could help me on such short notice Attachments Tags
Clarifications

Answers

Java Assignment

sudheer488
sudheer488 



Find the Code along with the video which shows you complete execution of the project.. Attachments
guiproject.zip (1084 K) Download




























Preview
-post-compile-test-single: called after javac compilation of single JUunit test -pre-jar: called before JAR building -post-jar: called after JAR building -post-clean: called after cleaning build products (Targets beginning with '-' are not intended to be called on their own.) Example of inserting an obfuscator

Preview
<j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}"> <customize/> </j2seproject3:junit> </sequential> </macrodef> </target> <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl"> <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3"> <attribute default="${includes}" name="includes"/> <attribute default="${excludes}" name="excludes"/> <att

Preview
xmlns="http://www.netbeans.org/ns/project-private/1"> <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/> <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">

Preview
<configuration> <data xmlns="http://www.netbeans.org/ns/j2se-project/3"> <name>Desktop</name> <source-roots>

Preview
* * @author PC */ public class Desktop { /** * @param args the command line arguments */

Preview
br = new BufferedReader(fr); String data = ""; StringBuffer sb=new StringBuffer(data); //jTextArea1.setText(""); while ((data = br.readLine()) != null) { sb.append(data); //ta.append(data + "\n"); } String s=sb.toString(); System.out.println("read"+s); new Task1(s).setVisible(true); fr.close(); } catch (Exception e) { JOptionPane.showMessageDialog(this, "Error in open", "Error", JOptionPane.ERROR_MESSAGE); } }//GEN-LAST:event_jMenuItem12ActionPerformed private void jButton2

Preview
Do NOT modify this code. The content of this method is always * regenerated by the Form Editor. */ @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jMenuItem2 = new javax.swing.JMenuItem(); jMenuItem5 = new javax.swing.JMenuItem(); jScrollPane1 = new javax.swing.JScrollPane(); jTextArea1 = new javax.swing.JTextArea(); jMenuBar1 = new javax.swing.JMenuBar(); jMenu1

Screenshots
Purchase Answer

Solution for MyJframe

mariobeka
mariobeka 



Below you will find the solution of your assignment. The implementation has been made following the requirements specified in your assignment.
I provided also a screen shot of the program running.
Attachments
Screen Shot 2015-12-09 at 20.23.54.png (182 K) Download Preview

MyJFrame.java (6 K) Download Preview
{ newFileAction = new NewFileAction("New", "Creates a new File", new Integer(KeyEvent.VK_N)); listFilesAction = new ListFilesAction("List Files", "Show all files from file chooser", new Integer(KeyEvent.VK_O)); } private class NewFileAction extends AbstractAction { public NewFileAction(String name, String description, Integer mnemonic) { super(name); putValue(SHORT_DESCRIPTION, description); putValue(MNEMONIC_KEY, mnemonic); } @Override public void actionPerformed(ActionEvent e)

DisplayText.java (1 K) Download Preview
JScrollPane jScrollPane = new JScrollPane(textArea); jScrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED); jScrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED); panel.add(jScrollPane, BorderLayout.CENTER); this.add(panel, BorderLayout.CENTER); } public String getName() { return this.name; } public String selectText() { return textArea.getSelectedText(); } public void insertText(String

BasicFile.java (1 K) Download Preview
= choose.showOpenDialog(null); try { if (status != JFileChooser.APPROVE_OPTION) throw new IOException(); f = choose.getSelectedFile(); if (!f.exists()) throw new FileNotFoundException(); } catch (FileNotFoundException e) { display("File not found ....", "Information"); } catch (IOException e) { display("You didn't select any

Screenshots
Screenshot
Purchase Answer