Polimorfismo – Exemplo pratico
Ola pessoal, criei duas video aulas, parte 1 e 2 sobre polimorfismo. Na minha opiniao, ficaram bem explicativas. Mas caso surgir duvidas, coloquem a duvida aqui.
Video Aula – Parte 1
http://rapidshare.com/files/260180302/Polimorfismo_Parte_1.rar – AVI
http://rapidshare.com/files/260285870/Polimorfismo_Parte_1.rar – FLASH
Video Aula – Parte 2
http://rapidshare.com/files/260341467/Polimorfismo_Parte_2.rar – AVI
http://rapidshare.com/files/260326389/Polimorfismo_Parte_2.rar – FLASH
Prometi o source do projeto, entao ai vai:
http://rapidshare.com/files/260768824/CalculadoraSimples.rar
Bom pessoal, como exercicio para voces eu deixo tirar alguns erros tipo:
Apenas somar, subtrair, dividir ou multiplificar se os dois campos nao estiverem vazios e se eles tiveram apenas numero.
Abraços
Como criar uma janela usando JFrame
Bom pessoal, o codigo que postarei aqui eu retirei do livro Introduction to GUI with Java Swing, que comecei a ler.
Esta é primeira aplicaçao que colocarei aqui entre muitas outras que colocarei ao decorrer da leitura.
Ela é bem simples, a função dela é apenas mostrar uma janela simples na tela, sem componente nenhum.
Fiz uma pequena modificação para funcionar sem precisar criar o pacote, visto que ele estava dentro de um, package its.SimpleFrame;.
Segue o codigo:
import javax.swing.JFrame;
public class SimpleFrame extends JFrame
{
public SimpleFrame()
{
this.setSize(200,200);
this.setLocation(200,200);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
//Makes the frame visible
public void showIt() {
this.setVisible(true);
}
//Makes the frame visible and sets the title text.
public void showIt(String title){
this.setTitle(title);
this.setVisible(true);
}
//Makes the frame visible and sets the title text
//and the position of the window
public void showIt(String title,int x,int y){
this.setTitle(title);
this.setLocation(x,y);
this.setVisible(true);
}
//Makes the frame invisible
public void hideIt(){
this.setVisible(false);
}
}
O codigo acima é apenas um, vamos dizer assim, montador da janela. Atravez da proxima aplicação é que é executado o codigo acima.
public class SimpleFrameDriver
{
public static void main(String[] args)
{
SimpleFrame sFrame1 = new SimpleFrame();
SimpleFrame sFrame2 = new SimpleFrame();
sFrame1.showIt("SimpleFrame 1");
sFrame2.showIt("SimpleFrame 2",300,300);
}
}
Bem, o que ele faz é bem simples. Ele cria varios metodos sobrecarregados. Isto quer dizer, metodo com nomes iguais porem que recebem argumentos diferentes.
SimpleFrame sFrame1 = new SimpleFrame(); SimpleFrame sFrame2 = new SimpleFrame();
Nesta duas linhas ele cria os objetos sFrame1 e sFrame2.
sFrame1.showIt("SimpleFrame 1");
sFrame2.showIt("SimpleFrame 2",300,300);
Nestas duas linhas ele chama os seguintes metodos showIt:
public void showIt(String title){
this.setTitle(title);
this.setVisible(true);
}
public void showIt(String title,int x,int y){
this.setTitle(title);
this.setLocation(x,y);
this.setVisible(true);
}
Apesar do nome e do modificador de acesso e o retorno serem identicos, o parametro é diferente. Isso é diferente para o JVM, para ele, estes metodos nao sao iguais. O metodo hideIt() ele colocou no codigo apenas para falar ( no livro esta falando ) que se voce executar este metodo, o programa ainda continuara rodando. Ou seja, vamos dizer que voce tivesse um botao e ao clicar ele chamasse este metodo. O que iria acontecer é que o JFrame ficaria invisivel, mas nao fecharia. Se por acasso voce abrisse outro programa e fechasse novamente do mesmo modo, abrisse outro.. e assim por diante.. isto consumiria muita memoria. Para fechar um JFrame, tem que ser atravez do atributo setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);. Nao irei mostrar, apenas mencionar. No curso do neri vi que tem outros tipos de constantes estaticas (final static… Orientação a Objetos hein pessoal) igual a esta. Vamos dizer que seu programa tivesse um botao que abriria um novo JFrame. Se voce coloca o setDefault.. Isto fecharia todo o programa. Por isto, existe a constante DISPOSE_ON_CLOSE. Se por acaso alguem quiser ver um uso disso tudo que falei e nao mostrei, peça. Nao irei fazer o tutorial se nao tiver certeza que alguem ira ler ne… Bom, abaixo segue uma imagem da execução do codigo mostrado acima.

Qualquer duvida sobre o codigo aqui descrito, pergunte! Nao fique com medo de perguntar.
Espero que voces tenham gostado e ate a proxima.
Abraços
Muitas Apostilas OTIMAS de Ingles
Bom pessoal, estas apostilas faz parte de um curso mas como nao coloquei ainda, voces podem ir baixando para conferir o material.
O material com certeza é muito utilizado para aprender o ingles ou caso ja souber, aperfeiçoar.
Para baixar, clique no link abaixo e na pagina que voce for redirecionado, escolha a apostila que deseja fazer o download.
Para acompanhar, é importante ter um tradutor para ajudar, de prerefencia um que tenha pronuncia.
Voce tambem pode utilizar o tradutor do google, ele ajuda muito e foi muito diferente de quando foi lançado
Clique no link: http://www.4shared.com/dir/14772830/98811244/sharing.html
Espero que gostem do material e comentem aqui o que acharam.
Abraços
Rosetta Stone – English (American) Level 1, 2, 3

Rosetta Stone software is built around a concept called Dynamic Immersion, an unique learning method that uses a computer to mimic the ways in which you learnt your first language.
This approach is simple, but incredibly effective as it allows your brain to adapt quickly as your knowledge grows.
Our language courses are highly interactive and visually engaging and we’ll never ask you to translate back into your native language or memorise vocabulary lists. Instead you’ll learn through a complete immersion process. Relate what you see and hear to familiar, real-life images and situations. Practise and perfect your pronunciation against native speakers using our innovative voice recognition technology and receive immediate feedback to help consolidate and reinforce your learning.
You�ll experience continuous progress and regular breakthroughs because our Adaptive Recall technology remembers language you find difficult initially and reintroduces it at optimal intervals during the course; helping you understand and retain language for use in the real world.
Instructions:
1. Burn or mount the Application ISO using one of the many ISO utilities. (e.g PowerISO to mount )
2. Turn off all Anti Virus applications.
3. Install Rosetta Stone 3.3.5
4. DO NOT let the application run at the end of the install.
5. Copy the “RosettaStoneVersion3.exe” file from the “Crack” folder, and overwrite the original one in the directory where you installed “Rosetta Stone 3.3.5.exe”.
(Default installation directory: C:\Program Files\Rosetta Stone\)
6. Run the “Rosetta Stone 3.3.5 Product Activation Patch – JDS.exe” file from the “Crack” folder.
7. Done
8- Note: You will see a prompt everytime you start Rosetta Stone 3.3.5 that says: There was a minor error.
This is normal, just click “OK” to continue. You don’t need to crack Rosetta Stone 3.3.5 again
when you update a language file.
9. Burn or mount one of the language ISO files
10. Run the Rosetta Stone Application
11. The application will ask to install a language
12. It should search and find the language disk or mounted ISO
12. Continue for all languages and levels you want to install.
Application
http://rapidshare.com/files/215202937/Rosetta.Application.part1.rar
http://rapidshare.com/files/215202952/Rosetta.Application.part2.rar
http://rapidshare.com/files/215202492/Rosetta.Application.part3.rar
Or
http://www.easy-share.com/1904257660/Rosetta.Application.part1.rar
http://www.easy-share.com/1904257754/Rosetta.Application.part2.rar
http://www.easy-share.com/1904257755/Rosetta.Application.part3.rar
.
Links are interchangeable.
.
Level 1 and 2
http://rapidshare.com/files/215202956/Rosetta.Level.1.2.part1.rar
http://rapidshare.com/files/215202933/Rosetta.Level.1.2.part2.rar
http://rapidshare.com/files/215202929/Rosetta.Level.1.2.part3.rar
http://rapidshare.com/files/215203003/Rosetta.Level.1.2.part4.rar
Or
http://www.easy-share.com/1904257756/Rosetta.Level.1.2.part1.rar
http://www.easy-share.com/1904257761/Rosetta.Level.1.2.part2.rar
http://www.easy-share.com/1904257769/Rosetta.Level.1.2.part3.rar
http://www.easy-share.com/1904257775/Rosetta.Level.1.2.part4.rar
.
Links are interchangeable.
.
http://rapidshare.com/files/215202962/Rosetta.Level.3.part1.rar
http://rapidshare.com/files/215202881/Rosetta.Level.3.part2.rar
http://rapidshare.com/files/215203000/Rosetta.Level.3.part3.rar
http://rapidshare.com/files/215202947/Rosetta.Level.3.part4.rar
http://rapidshare.com/files/215202916/Rosetta.Level.3.part5.rar
http://rapidshare.com/files/215202886/Rosetta.Level.3.part6.rar
Or
http://www.easy-share.com/1904257781/Rosetta.Level.3.part1.rar
http://www.easy-share.com/1904257783/Rosetta.Level.3.part2.rar
http://www.easy-share.com/1904257784/Rosetta.Level.3.part3.rar
http://www.easy-share.com/1904257785/Rosetta.Level.3.part4.rar
http://www.easy-share.com/1904257787/Rosetta.Level.3.part5.rar
http://www.easy-share.com/1904257789/Rosetta.Level.3.part6.rar
.
Links are interchangeable.
No password
Lynda.com Fireworks CS4 Essential Training
Fireworks CS4 Essential Training
Quote:
Fireworks CS4 is a hybrid imaging and rapid-prototyping application with an enhanced toolset and a greater variety of options. In Fireworks CS4 Essential Training, Jim Babbage demonstrates how to navigate and customize the workspace in this design and production hub. He then provides a primer on the array of graphics that can be created and combined in Fireworks, including bitmap and vector art, layered Photoshop and Illustrator files, and files in the native Fireworks format, enhanced PNG. He demonstrates creative uses of text, animation, and effects. Jim discusses how to generate optimized web graphics as well as entire interactive prototypes based on CSS, HTML, PDF, and AIR. This training is intended for those who are new to Fireworks or who are seeking insights into the techniques made possible by the latest version. Exercise files accompany the course.
Download
Code:
http://rapidshare.com/files/251885420/LCFWCS4ET.part01.rar.html
http://rapidshare.com/files/251885639/LCFWCS4ET.part02.rar.html
http://rapidshare.com/files/251885589/LCFWCS4ET.part03.rar.html
http://rapidshare.com/files/251885171/LCFWCS4ET.part04.rar.html
http://rapidshare.com/files/251884470/LCFWCS4ET.part05.rar.html
http://rapidshare.com/files/251884457/LCFWCS4ET.part06.rar.html
http://rapidshare.com/files/251882314/LCFWCS4ET.part07.rar.html
http://rapidshare.com/files/251884505/LCFWCS4ET.part08.rar.html
http://rapidshare.com/files/251880995/LCFWCS4ET.part09.rar.html
Lynda.com – PHP with MySQL Essential Training
Web site and database assimilation is a necessity for many of today’s businesses, and learning to work with PHP is key to integration success. The objective of PHP with MySQL Essential Training is to teach both new and experienced web developers the comprehensive steps for building dynamic, data-driven, interactive websites. Using PHP 5.2.x and MySQL 5.0.x, instructor Kevin Skoglund demonstrates the entire process of building a content management system. He starts with the basics of the PHP language (variables, arrays, loops, functions, etc.) and works up to building dynamic web pages with a MySQL back end. Kevin also covers blueprinting applications; structuring and interacting with databases; building, validating, and processing forms; and regulating user access with passwords. In addition, he provides practical advice, offers examples of best practices, and demonstrates refactoring techniques for improving existing code. The course has been updated for Mac OS 10.5 Leopard. Updated exercise files accompany the tutorials.
This course has been updated as of November 2008.
Released on: 6/26/2007
Code:
http://rapidshare.com/files/251713910/Lynda.com_PHP_MySQL_Essential_Training.part01.rar
http://rapidshare.com/files/251711512/Lynda.com_PHP_MySQL_Essential_Training.part02.rar
http://rapidshare.com/files/251712177/Lynda.com_PHP_MySQL_Essential_Training.part03.rar
http://rapidshare.com/files/251711499/Lynda.com_PHP_MySQL_Essential_Training.part04.rar
http://rapidshare.com/files/251713853/Lynda.com_PHP_MySQL_Essential_Training.part05.rar
http://rapidshare.com/files/251712230/Lynda.com_PHP_MySQL_Essential_Training.part06.rar
Lynda.com – PHP with MySQL Beyond the Basics
Quote:
In PHP with MySQL Beyond the Basics, expert instructor Kevin Skoglund introduces powerful PHP programming techniques using object-oriented programming (OOP). Both novice and experienced PHP developers will benefit from the efficient, well-organized, reusable, and easy-to-understand code that OOP offers. Kevin shows how OOP techniques can streamline database queries, help manage sessions, and simplify user logins. While building a real-world web application, Kevin also includes practical advice on topics ranging from structuring code to logging user actions. Exercise files accompany the course.
Released on: 3/25/2009
Code:
http://rapidshare.com/files/251712207/Lynda.com_PHP_MySQL_Beyond_Basics.part1.rar
http://rapidshare.com/files/251748696/Lynda.com_PHP_MySQL_Beyond_Basics.part2.rar
http://rapidshare.com/files/251714503/Lynda.com_PHP_MySQL_Beyond_Basics.part3.rar
http://rapidshare.com/files/251712236/Lynda.com_PHP_MySQL_Beyond_Basics.part4.rar
http://rapidshare.com/files/251713261/Lynda.com_PHP_MySQL_Beyond_Basics.part5.rar
http://rapidshare.com/files/251713744/Lynda.com_PHP_MySQL_Beyond_Basics.part6.rar
http://rapidshare.com/files/251712872/Lynda.com_PHP_MySQL_Beyond_Basics.part7.rar
http://rapidshare.com/files/252068226/Lynda.com_PHP_MySQL_Beyond_Basics.part8.rar
Total Training – Adobe InDesign CS4: Advanced

Total.Training.Adobe.InDesign.CS4.Advanced.DVD-iNKiSO (1.9GB)
Release Date…. 06-24-2009
Release Format.. ISO
Release Type…. Bookware
DESCRIPTION
With Total Training for Adobe InDesign CS4: Advanced, you�ll learn all the tricks the professionals know that can save you hours of time in production. After watching this training, you will understand how to build advanced Paragraph Styles that include both Nested and Next styles. You�ll learn everything from Master Pages to Object Styles, have a look at advanced features such as XML and Datamerge, plus discover numerous time saving InDesign workflow shortcuts along the way. This series is just what you need to take your InDesign skills one step further and get you well on your way to easily managing a multiple page document inside InDesign.
Project Files: Included
Password
Code:
ut@updatesofts.com
Download
Code:
http://rapidshare.com/files/250796354/TotalTraining_Adobe_InDesign_CS4_Advanced.part01.rar
http://rapidshare.com/files/250796206/TotalTraining_Adobe_InDesign_CS4_Advanced.part02.rar
http://rapidshare.com/files/250796491/TotalTraining_Adobe_InDesign_CS4_Advanced.part03.rar
http://rapidshare.com/files/250795981/TotalTraining_Adobe_InDesign_CS4_Advanced.part04.rar
http://rapidshare.com/files/250796169/TotalTraining_Adobe_InDesign_CS4_Advanced.part05.rar
http://rapidshare.com/files/250796207/TotalTraining_Adobe_InDesign_CS4_Advanced.part06.rar
http://rapidshare.com/files/250795953/TotalTraining_Adobe_InDesign_CS4_Advanced.part07.rar
http://rapidshare.com/files/250796464/TotalTraining_Adobe_InDesign_CS4_Advanced.part08.rar
http://rapidshare.com/files/250796768/TotalTraining_Adobe_InDesign_CS4_Advanced.part09.rar
http://rapidshare.com/files/250796600/TotalTraining_Adobe_InDesign_CS4_Advanced.part10.rar
http://rapidshare.com/files/250796355/TotalTraining_Adobe_InDesign_CS4_Advanced.part11.rar
http://rapidshare.com/files/250796654/TotalTraining_Adobe_InDesign_CS4_Advanced.part12.rar
http://rapidshare.com/files/250796625/TotalTraining_Adobe_InDesign_CS4_Advanced.part13.rar
http://rapidshare.com/files/250796186/TotalTraining_Adobe_InDesign_CS4_Advanced.part14.rar
http://rapidshare.com/files/250797096/TotalTraining_Adobe_InDesign_CS4_Advanced.part15.rar
http://rapidshare.com/files/250796562/TotalTraining_Adobe_InDesign_CS4_Advanced.part16.rar
http://rapidshare.com/files/250796982/TotalTraining_Adobe_InDesign_CS4_Advanced.part17.rar
http://rapidshare.com/files/250796232/TotalTraining_Adobe_InDesign_CS4_Advanced.part18.rar
ASP.NET Web Services
n this course, you will build a solid foundation for the development of Web services and gain an understanding of how commonly used protocols can impact your development effort. You will learn how to create and consume ASP.NET Web services, describe your Web service so that others can use it, and publish the details of your Web service’s exposed method. You will also discover how current and evolving standards, such as XML Schema and WS-Security, can be integrated into Web service development.
In this course, you will…
* Learn to create and consume ASP.NET Web services
* Gain an understanding of how the SOAP protocol acts as the underlying transport for Web services.
* Utilize the XML Schema standard to define and validate SOAP documents
* Discover how to solve common development issues by using both current and evolving standards, such as WS-Security, WS-Routing and WS-Transaction.
Code:
FileFactory
http://www.filefactory.com/file/ag69047/n/AppDev_ASPNet_txt
http://www.filefactory.com/file/ag69e78/n/AppDev_ASPNet_part01_rar
http://www.filefactory.com/file/ag69e74/n/AppDev_ASPNet_part02_rar
http://www.filefactory.com/file/ag69e77/n/AppDev_ASPNet_part03_rar
http://www.filefactory.com/file/ag69e8f/n/AppDev_ASPNet_part04_rar
http://www.filefactory.com/file/ag69e8g/n/AppDev_ASPNet_part05_rar
http://www.filefactory.com/file/ag69e80/n/AppDev_ASPNet_part06_rar
http://www.filefactory.com/file/ag69fd8/n/AppDev_ASPNet_part07_rar
http://www.filefactory.com/file/ag69e94/n/AppDev_ASPNet_part08_rar
http://www.filefactory.com/file/ag69fab/n/AppDev_ASPNet_part09_rar
http://www.filefactory.com/file/ag69e93/n/AppDev_ASPNet_part10_rar
Uploaded.To
http://ul.to/i7bj88
HotFile
http://hotfile.com/list/24444/8cd0f07
1 GB
Interchangeable Links No Mirror
Lynda.com: Flash CS4 Pro: Object-Oriented Programming Origin
Lynda.com: Flash CS4 Professional: Object-Oriented Programming CD
Full CD Version Original GUI
Manufacturer: Lynda.com
Released on: 2/3/2009
Language: English
Format: FULL CD Version (Video + Exercise files + Original GUI)
No password, single extraction file
Flash CS4 Professional: Object-Oriented Programming
with: Todd Perkins
This course is perfect for anyone who’s looking to add more “flash” to Flash projects. In Flash CS4 Professional: Object-Oriented Programming, Todd Perkins shares tools and techniques to help create a more streamlined workflow through reusable code components. He explains how encapsulation and inheritance can produce creative work with maximum efficiency, and shows how to use proper manipulation of classes to build a complete and complex slide show. Todd’s examples demonstrate the power of this coding technique. Exercise files accompany the course.

download links:
Code:
http://rapidshare.com/files/193833702/Lynda.com.Flash.CS4.Pro.Object.Oriented.Programming.part01.rar
http://rapidshare.com/files/193833127/Lynda.com.Flash.CS4.Pro.Object.Oriented.Programming.part02.rar
http://rapidshare.com/files/193832690/Lynda.com.Flash.CS4.Pro.Object.Oriented.Programming.part03.rar
http://rapidshare.com/files/193859120/Lynda.com.Flash.CS4.Pro.Object.Oriented.Programming.part04.rar
http://rapidshare.com/files/193859714/Lynda.com.Flash.CS4.Pro.Object.Oriented.Programming.part05.rar
http://rapidshare.com/files/193860353/Lynda.com.Flash.CS4.Pro.Object.Oriented.Programming.part06.rar
http://rapidshare.com/files/193870407/Lynda.com.Flash.CS4.Pro.Object.Oriented.Programming.part07.rar
GUI for those who downloaded the ONLINE VERSION
Code:
http://rapidshare.com/files/193806595/Lynda.com.Flash.CS4.Pro.Object.Oriented.Programming.GUI.ONLY.rar
Flash CS4 Professional Essential Training
Flash CS4 Professional Essential Training
Flash is a powerful multimedia creation tool that can be used to build simple animations, full-featured applications, and everything in between. In Flash CS4 Professional Essential Training, Todd Perkins offers new Flash users a thorough explanation of the interface, tools, and techniques at the heart of any project. He shows how to use the latest iteration of the Flash drawing tools and timeline, work with text and symbols, and create tweens and other simple animations. Todd also explores multimedia elements like bitmap graphics, sound, and video. He shows how to use ActionScript 3.0 to add interactivity to Flash projects, discusses integration with other Adobe applications, and more. Exercise files accompany the course.
Download
Code:
http://rapidshare.com/files/251903961/LCFCS4PET.part1.rar
http://rapidshare.com/files/251902243/LCFCS4PET.part2.rar
http://rapidshare.com/files/251901116/LCFCS4PET.part3.rar
http://rapidshare.com/files/251887451/LCFCS4PET.part4.rar
http://rapidshare.com/files/251901227/LCFCS4PET.part5.rar
Deixe um comentário