Creating an application in Netbeans. Goal of this tutorial Project 1 requires you to develop and test a graphical user interface (GUI) Netbeans allows.

Slides:



Advertisements
Similar presentations
James A. Rome TGA August 2009 Mapping the TZs. In Java it is quite easy to do maps The only way to tell if we interpolated the data successfully is to.
Advertisements

Processing and Java David Meredith
Hosting Your Web site Guide to Accessing Student Web Space (for most up-to-date information)
Java Integrated Development Environments: ECLIPSE Part1 Installation.
Learning Dreamweaver Setting up a basic site. Do you have a web account in place? Check it: Enter
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
P2-S1 MySQL 2003 SJSU -- CmpE-- M.E. Fayad Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
Steps to Display a Text file in an Applet Abhishek Mehta.
13-Jul-15 Getting Ready for Java. 2 What You Need 256 MB of RAM (512 MB or more recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably.
Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 21: Publishing Your Pages on the Web.
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
February 2006Colby College ITS Using FTP. February 2006Colby College ITS Topics FTP Options at Colby For Mac Users For Windows Users.
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
Computer Setup for EDA Tools Murali Dharan January 8, 2014 ELEC 7770 Spring 2014 Advanced VLSI Design 1/08/
Connecting to USF Network for Web Site SSH Secure Shell is the FTP program you will use to download your http files onto the USF server. To get the SSH.
CPSC203 Introduction to Computers Lab 69 By Jie Gao.
1/28/2010 Network Plus Windows Networking Network Identification Identifies name and type of network. Installed adapters –Performed during Windows installation.
Cobian Backup 7 Tutorial Welcome to Cobian Backup 7. This tutorial will show you how to install the program, configure it and create your first scheduled.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
Java Programming, 3e Concepts and Techniques Chapter 3 Section 65 – Manipulating Data Using Methods – Java Applet.
C O M P U T E R G R A P H I C S Jie chen Computer graphic -- OpenGL Howto.
C OMP 401 E CLIPSE S ETUP Instructor: Robert Mills. John Hansen.
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
ACM/JETT Workshop - August 4-5, Guidelines For Using BlueJ.
CPSC203 Introduction to Computers Lab 33 By Jie Gao.
1 Installation When this module is complete, you will be able to:  Set a static IP address for your laptop  Install the snom ONE software  Navigate.
How to Tag a Corpus Using Stanford Tagger. Accuracy All tokens: 97.32% Unknown words: 90.79%
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Setting Up RMC for Catalyst March 19, Pre-requisites If getting Catalyst Admin support for installing RMS, register at IBM first and get a user.
Department of Electrical Engineering, National Taiwan Ocean University NuMicro MCU Learning Board SDK Installation 1/29/2015 Richard.
Dr. Gina Green Class Setup.
DEVS M&S Tutorial with eclipse IDE Chungman Seo
Installing Repast in the Eclipse IDE Charlie Gieseler 6/28/04.
Unzip the attachment and double click to run it..
Download and Install: 1.Java Development Kit (JDK) bin/INTERSHOP.enfinity/WFS/CDS- CDS_Developer-Site/en_US/- /USD/ViewProductDetail-Start?ProductRef=jdk-
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Creating an Access Project* If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse or.
VDI-in-a-box TM 1 Kaviza Client End User Quick Start Manual.
Ergo User Tutorial NCSA, UIUC. What is Ergo?  As an IT framework  Ergo-EQ is built on Ergo Platform  A.K.A. MAEviz, EQviz (a fork by EU), HazTurk (
Installing SAS 1. Requirements If you do not have an old copy of SAS installed on your computer, go directly to Slide 6. Make sure you have uninstalled.
MySQL Getting Started BCIS 3680 Enterprise Programming.
How to Install Eclipse Click hereClick here to download Eclipse.
IPT – Getting Started June Online Resources Project Website Requirements Server Preparation Installation Running IPT Installation Demo Upgrade/Reinstall.
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
IS493 INFORMATION SECURITY TUTORIAL # 1 (S ) ASHRAF YOUSSEF.
You may have already done this… Download the class files to the desktop Expand those files into root of USB stick Change your USB stick to drive “Z”!
Copy of the from the secure website - click on the AccoridaLife.zip link.
Introduction To Greenfoot
Installation of Ace-Extranet (SFTP). Step 1 – Go to ACEINDIA.com 1.Go to 2.Click on Technology 3.Now Click on Ace-Extranet.
Building the CarryDrop simulation in Eclipse Creating a new project with existing code from John Murphy’s RePast tutorial.
Time to apply stuff… Faculty of Mathematics and Physics Charles University in Prague 5 th October 2015 Workshop 1 – Java Wrestling.
Getting Started with SAP Athens State U N I V E R S I T Y Lisa Rich, PhD Professor of Information Systems.
Netbeans QuickStart. Creating a project File->New Project –For now you want General->Java Application –Then fill in the project details.
Installing Apple’s Safari Web Browser on your PC Presented By: Michael Brown ENGL 393.
Installing and Using Evolve Evolve is written in Java and runs on any system with Java 1.6 Download Evolve from Unzip.
1 How to Publish Your HTML Page on the Web. Every USF Student has a website 2 Your Net ID You have a directory on the server.
Exploring Taverna 2 Katy Wolstencroft myGrid University of Manchester.
Day 1 Session 2. Setup & Installation
Fundamental of Databases
Logging Into Windows XP for first time (labs only!)
SEEM4570 Tutorial 1:Software Installation
Obtaining the Required Tools
Download and install Oracle Developer Suite 10g & Developer suite
Content: What is JMeter? What can I do with JMeter?
Setting up Eclipse Locally
Starting Jena 3 in Eclipse
1 Let’s Get This File On The Internet ( /mb)
IMovie sits at the center of the iLife suite, integrating iTunes, iPhoto, and iDVD to help create professional-looking films with music, titles, and effects. 
Presentation transcript:

Creating an application in Netbeans

Goal of this tutorial Project 1 requires you to develop and test a graphical user interface (GUI) Netbeans allows you to quickly create a GUI using Java – Programs can be run on any operating system Today’s lecture will show you how to do this

Goal of this tutorial Not required to use Netbeans, but: – Sample code will only be provided in Java – You need to make sure that your program can run on both Windows and Mac OSX – The TA may not be able to help you if you chose to develop in another language

Setup Download Netbeans – Download Java JRE/JDK 8 v25 – Note: You must install at least the JRE 8v25 to make sure that you can run other student’s programs who have developed them in Java, even if you decide to develop your program in a different language

Develop a desktop application Past years have required you to host your application on a website – This is not required this year Recommend you create a standard Java Application, not a Java Applet

Creating a new Project File > New Project Select Java Application (in the Java folder) Name it whatever you would like Uncheck Create Main Class

Creating the GUI Right-click on your new project and click New Select Other Select the Swing Gui Forms folder and create a JDialog Form – You can ignore the warning about using the default package

Source and Design Panes Select your new JDialog Form You should see three buttons/tabs labeled Source, Design, and History. – Source shows the source code for your form – Design shows the GUI designer – History shows your change history Source and Design are the important ones

Using the Design Pane Working with the Swing designer: gui.html gui.html

Building an Executable JAR Open your project’s Properties and select Packaging Check all three checkboxes and hit OK Run > Build Project Open the project directory The executable.jar is in the dist folder – There may be a lib folder as well, if your project needs any additional libraries Zip the.jar file and the lib folder (if it exists) People can unzip the file and run your program by double-clicking on the jar file

Hosting on the CISE Servers Install WinSCP (other FTP programs are fine) Connect to storm.cise.ufl.edu (other servers are fine) Place the zip file in your public_html directory – Create the directory if it doesn’t exist – Set the folder permissions to rwxr-xr-x (i.e. 0755) – Permissions can be set in WinSCP in the folder’s properties Set your zip file’s permissions to rw-r--r– (i.e. 0644) Applying for an account: Download at /

Advice for Project 1 Building a translation program to help people ask for directions – Translation will be done using Google’s APIs Make sure your application supports other character sets (English + Chinese characters) Make sure you test your input to ensure that other character sets can be entered

Google Translate API Class TA will provide more information – Demo project contains two important classes: TranslateService.java and Language.java TranslateService.java – Call the method translate to get a translation Language.java – Defines constants for all of the languages supported by Google Translate