Archive for April 2012

XUS Desktop v1.8.77 Incl+ Keygen




XUS Desktop is a powerful desktop icon manager application. With XUS Desktop, you can easily organize your windows desktop icons. It can make your windows desktop clear, beautiful, and let you to handle shortcut icons. XUS Desktop also offers a new, easy, fast & swift way to launch the program.


It will free your windows desktop icons. If you are tired with Windows desktop, please try XUS Desktop – it is the best desktop application you have ever used. You will feel like using XUS Desktop all the time.

Key features:
* Easy to organize your windows desktop icons;
* Fast & swift way to launch the program;
* Make you windows desktop clear and beautiful;
* Offers a different & wonderful feel to use your computer;
* More useful and helpful functions;
* Offers a perfect solution to handle too much desktop icon’s problem.


1. Unpack
2. Install
3. Use Keygen
4. Enjoy it !!!!!!!!!

-------- 100% Clean ------








TreeSize Professional








TreeSize Professional is a powerful and flexible harddisk space manager for Windows 200X/XP/Vista/7. Find out which folders are the largest on your drives and recover megabytes on your disks. TreeSize Professional shows you the size, allocated and wasted space, the number of files, 3D charts, the last access date, the file owner and permissions, the NTFS compression rate and much more information for several folders or drives you choose. It also lets you search drives, entire servers or the entire network for old, big, temporary and duplicate files.

FEATURES:

* Visually Track down disk usage and see the size of all folders including their subfolders and break it down to the file level.
* Several exporting and reporting possibilities: Printed report (showing the directory structure), Excel, HTML, XML, text file, clipboard.
* The integrated fully customizable file search helps you to find and archive the largest, oldest, obsolete and temporary files, e.g. invalid shortcuts or files owned by a non existant account.
* You can search multiple drives, entire servers and even your entire network neighbourhood. The search results can be exported, moved or deleted.
* Duplicate file search, optionally with MD5 checksums
* Statistics about file types and file owners on directory level. Additionally it is possible to filter the file system tree on the left to a certain user or file type
* TreeSize Pro is able to save the data to an XML file and to load it again later.
* A saved XML file can be used to compare it against the current version of the file system branch. The difference between the two scans will be displayed and makes it easy to see which folders have grown.
* Support for Unicode file and folder names.
* The visible columns can be configured separately for the TreeSize Pro window, Excel export, HTML Export, Text export and printed reports. A lot of optional columns are available.
* TreeSize Pro ships with a shell extension for Windows 2000/XP/2003 that adds an additional TreeSize column to the Windows Explorer that is showing the size not only for files but also for folders.
* High performance through Multithreading: Browse the results during scanning, scan and view several folders at the same time, automatic adjustment of the number of threads that are used for a scan.
* Include and exclude certain files and folders in your scans
* Print the contents of a directory, including all files and the corresponding icons.
* Several Command line options allow scheduled and overnight scans of your hard disk. An integrated wizard helps to set up scheduled scans.
* A list of all files in the scanned folder and its subfolders can be exported, for example for use in a database.
* Support for the file based NTFS compression, hard links and Alternate Data Streams (ADS)
* Explorer context menu is supported inside the TreeSize window.



Open folder
Run setup.exe
Extract serial key from Installation password.txt







USB Password Protect Elite v1.0 Full







"Truly outstanding software with AES-128 encryption, designed to fully protect the most confidential of files on your 
existing USB Flash Drive"


Protect the data on your existing USB Flash Drive for only $37*
with this amazing new USB Password Protect ELITE Software 
by SecureStix Innovations International"


(2011 Version Now Available)


* pricing in US dollars
IF you carry around a USB Flash Drive (also known as a “Memory Stick”) you absolutely MUST read this.


Let me explain….


A friend of mine lost his USB Drive some time ago and is, to this day, absolutely beside himself with worry.


Who is going to find it and what will they do with the information he had stored on it?


The information on his drive included sensitive customer confidential information, financial records of his current investment deals and a personal journal he'd been keeping - which was a very honest blow-by-blow record of his life.


He lost that drive over 2 years ago and the unsecured drive is still missing. Not a day goes by where he wonders if he'll find his most private information (or that of his customers) splattered all over the internet.


This got me thinking, what if this had happened to me?


So I thought there has to be a way to protect my valuable data whilst still having the convenience of an easy to use USB Flash Drive.






good PROTECTION software FOR FLASH DRIVEs just didn't exist


After countless hours of searching on the internet and speaking to computer shops, it seemed there was no proven method available of securing the information on my flash drive.


I even tried some "freeware" and "shareware" programs, but many crashed my machine and one even DESTROYED the files I was trying to protect!


Never being one to give up I spoke to more and more electronic retailers and computer shops, searching for that perfect solution.


After the 14th store owner told me to "just be careful and don't leave your flash drive around" I decided enough was enough and I was personally going to do something about this!


There had to be a way!






Finally, Password Protection Software THAT IS easy to use.


With my knowledge of the IT industry and ability to write software, I enrolled some other awesome programmers and designers to help me come up with the perfect password protection program for my USB Flash Drive.




It had to be simple to use, easy to run, and had to allow me to type in a "hint" for my password that only I would know, to help me remember what password I had used to lock the files in the first place!


It also had to run on Windows 98, Windows 2000, Windows XP Home, Windows XP Professional and Windows Vista, as I carry my USB Flash Drive everywhere when traveling and regularly use Internet cafe's, Hotel computers, Customers computers and my Work and Home computers.


I also wanted to have the option of locking the folders on the computers i'm using, in the event that I wanted to leave something there to come back to another time.








Tried, Tested and IMPROVED and it's available to you!
I'm not perfect and have lost quite a few USB Flash Drives over the years, some were stolen from my car and hotel rooms, some I left in computers at internet cafes - at least I knew the thief could not access the confidential information on these devices


This program has saved my bacon many times over and it's now available to save yours too!


Using the most advanced programming techniques, this software is designed to be loaded and run on your existing USB Flash Drive.


After much testing I decided to have another level of security added, through the use of AES-128 Encryption Technology.


This program will password protect your most valuable folders, then go the next level by encrypting all of the information within.


It can do this with folders on your existing USB Flash drive and on any computer you're using at the time.






It's simply amazing, the files are locked and hidden from view, so a potential thief wouldn't even know that they existed on your device or on the computer unless they had this software - and even then, they'd need your password to unlock it.


When you are ready to unlock them again, simply run this program, enter the password you typed in when you locked the folder and presto! your files are unlocked and ready to use again.


If you've forgotten your password, there's a handy feature called a "hint", this is the hint you can write in at the time of locking the folders (eg if your password is your dogs name, you might write in "dog" for the hint)


This software has been designed with ease of use in mind and comes with a built-in tutorial to guide the most novice of USB Flash Drive users.


If you do nothing else to protect yourself in 2011, protect your files with this low-cost solution from SecureStix.


This software has cost me over $10,000 US Dollars and countless man-hours in time to develop.


You would expect to pay over $180 US Dollars for software like this, but I originally created this for myself, then started selling it to my friends and colleagues and after much persuasion from my friends i've opened it up to allow you to use as well and you can get it now for the on-line price of just $180 $37 US Dollars.






ACT NOW!...
It's too late once someone steals your data. 


Protect your valuable files now, using the most amazing
SecureStix USB Password Protection software available on the market today (valued at $180)
All of this for only $180 $37 (US Dollars).


Don't just take our word for it, please read the testimonials below before you purchase.


"Thanks for the great software program, i'm using it on my USB Key and have just purchased another one for my husband. It's a great way to ensure no one else can access my data" 
Mary Y. Sydney, Australia.


"I didn't think I needed this until I lost one of my flash drives - the worry I had over the data that was on it, had me looking for a better way. Your software is very handy and I can sleep at night knowing that no one can get to my information." 
Ronald F. London, UK.


"Love the software and love the peace of mind it gives me too." 
Annie B. Chicago, US.


"...who would have thought that something so cheap to buy could be so handy!"
Bob R. Texas, US.


"I'm writing to say thankyou for the software, I rely on my USB stick for everything and the thought someone else seeing what is on it was concerning me, your software is easy to use and lets me get on with work without worry of someone seeing the information on it. Thank you." 
Renaldo G. Brisbane Australia.


"Thanks SecureStix, now I can leave my USB Stick on my desk with no worries about people reading my private files." 
Franchesco T. Swindon, UK.


"Really like this software, simple to use and nice and secure." 
Mads U. Oslo Norway.


1. Run Application
2. Read "Installation instructions.txt"






USB Secure 1.6.6







USB Secure helps you password protect USB drive, thumb drive, memory stick, pen drive, jump drive, flash drive and external hard drive. It supports plug and play and runs automatically once a USB drive is plugged in, asking you the password for it. USB Secure is hassle free and it doesn t need a rocket scientist to master.


USB drives are the most popular way to move data from one PC to another. They are small in size but can carry gigabytes of data. They are easy to use, convenient, affordable, but at the same time they pose a security risk and can be easily lost, stolen or misplaced. A secure USB drive i.e., a password protected USB drive is a must these days as the data that it contains may cost you millions of dollars if stolen or lost.


You can easily lock USB drives with USB Secure and can also password protect memory sticks and all other external storage devices with just a single mouse click. An easy to use setup program will guide you to put the program on your USB drive. It can automatically detect all such drives currently plugged into your PC. After installing simply run the software, set and confirm a password, protect USB drive and sit back and relax!


It s not necessary to run the software every time you want to protect USB drive; you can simply choose Protect This USB Drive option from the Windows Autoplay that pops up every time you plug-in your USB drive. You can also double click the USB drive in your PC to launch the program. To unprotect your secure USB drive, click 'Unprotect' and enter correct password to access your data again.


Another great feature of USB Secure is that it doesn t require any Administrator rights to run and therefore there is no need to install it at the other end to retrieve the password protected data. The program also supports plug & play and asks for a password immediately when the drive is plugged-in. Password protect USB drive and other portable media with USB Secure



================
[INSTALL NOTES]
================

    Step 1: unpack rar archive
    Step 2: run installer USB Secure 1.6.6 .exe





LiveCricket – A working desktop Gadget



A free desktop gadget named “Live Cricket” which will update you about the live ball-by-ball score of a live match while you were working and also flash on a special events like: Four, Six, Wide, NoBall, Out or runs taken etc…



I hope you will enjoy my software and leave a good remark as a compliment. I would love to hear from every who use this software no matter whether it is a good or a bad remark.






Software Process ImprovementThrough CMMI & ISO



Xara Web Designer





================
[Software INFO:]
================


Xara Web Designer is unlike any web editor you will have seen before; an easy template based solution that gives you total page design freedom, no HTML skills required. Web Designer gives you total design freedom – using drag and drop you can literally place anything, anywhere on the page. And things which are normally difficult to achieve in HTML are a snap in Web Designer – for example text with curved edges, text or graphics at an angle, text flowing around objects – no problem! Working with industry standards is vital, so Web Designer sites are W3C compliant, cross browser compatible (IE 5.5, Firefox, Safari, Chrome) and XHTML, CSS standards based. It can also import a huge range of files types for vector graphics, image and text including PDF, RTF, RAW, PSD, TIFF and of course JPEG, PNG, GIF. Whether you customize one of the bundled templates or create your own graphics or animations, it’s genuinely WYSIWYG – what you see in Web Designer is exactly what you get on your website.


Traditional web authoring tools are really just HTML editors, they are designed to create text layouts, providing few graphical capabilities. And yet it’s evident that the vast majority of modern websites are of a graphical nature. We believe you should have complete freedom to include anything – text, graphics, photos – anywhere on the page, using just one tool. And you shouldn’t need to know, or even see, the HTML that goes  into creating your site, any more than a car driver needs to know how an engine works.


The Web Designer approach is simple: Pick your design from the templates; customize it with complete freedom; publish. Absolutely no HTML or javascript skills are required!


Templates include individual web graphics, complete pages and even pre-built multi-page sites.
You only need one program for creating graphical websites – from design to publishing – and that’s Web Designer. Web Designer includes customizable template designs plus tools for creating your own vector graphics and animations, for photo editing (an integrated ultra-fast, non-destructive photo tool), and for advanced text layout. Site upload is covered too!


Web Designer’s templates are created by top professional designers, so the quality is guaranteed. But of course you can customize the color, text, images, size etc to create your own personal look without any loss of quality. It’s the best of both worlds!


But we have some clever tricks too, to make things easier for you – here’s just a few of the things that will save you time and trouble:
Liquid text flow around objects; easy mouseover, thumbnail and pop-up creation; automatic adjustment of photos to the correct web resolution; one-click change of site wide theme colors and shades; automatic color matching of imported objects such as buttons; and buttons and text panels that automatically stretch as you change the text.


================
[INSTALL NOTES]
================


    Step 1: unpack rar archive
    Step 2: run installer Xara Web Designer MX Premium 8.0.0.21461.exe




Cinematographer v3.1 - Nikon D7000 & D5100



Cinematographer Pro 3.1 Software | 8.7 MB

Cinematographer Pro is a unique and powerful application for capturing video on your Nikon D7000 or D5100. Whenever you need a video field monitor, you can rely on Cinematographer Pro. Why spend hundreds on a hardware video monitor when you can use your laptop to achieve the same thing?


Here are some key features of "Cinematographer Pro":


· Adjust camera settings via an easy to use interface on the computer monitor rather than the tiny LCD display on the camera.
· Using your keyboard, touchscreen or mouse, command the camera to record video.
· See your camera's live view display on your computer monitor. This is great for reviewing composition and framing during rehearsals. Imagine being able to see the live view image full-screen on your computer monitor instead of the tiny lcd dispay!
· Use video peaking to see which areas of the scene are in focus. Configurable indicator colors and sensitivities ensure the focus is exactly where you need it.
· Use manual focus or click/touch the screen to autofocus. Then, zoom in on your focus point to ensure that you have that perfect focus for tack-sharp video.
· Launch a separate window within Cinematographer Pro for your focus puller! This window can be placed on different monitor if necessary and makes pulling a breeze.
· Experience the power of live histograms! Now you can ensure that your lighting is just right. Red, green, blue and luminance histograms are shown as an optional overlay.
· Use outer bracketing to see which areas are over or under exposed in a configurable alert color. This allows you to ensure that your exposure does not exceed broadcast standards.
· Use inner bracketing to ensure that areas within the scene are in a certain range of exposures. Very handy for keeping exposure on faces just right!
· Remotely set the shutter speed, ISO and aperture to create the exposure and depth of field that gives the right mood to your video.
· Choose between 4:3, 16:9, 1.85:1 and 2.39:1 aspect ratios! This allows you to visualize what the video will look like when cropped in post-processing.
· Guides! Use thirds, quads or adjustable margins to help you compose the scene.
· Optimized for touchscreen! Use monitors as small as 800 x 600 with touch, keyboard or mouse.
· Use the optional fullscreen mode to help you review the scene in detail. No more struggling to see everything in that tiny LCD display or viewfinder!
· Easily change the user interface look and feel between a darker or lighter look to handle varying ambient lighting conditions.
· Use the built-in help or tutorial video to quickly learn about the features of this amazing software!


Installation:-
-------------------
1. Unpack
2. Install
3. Use Keygen
4. Enjoy it !!!!!!!!


------ 100% Clean ----------






TeamViewer 7 Corporate v.7



Drag & Drop Even Faster :
Simply drag each desired file from and into the remote control window and drop it exactly where you want it.


Expanded Multi-Monitor Support :
Do you and your clients both work with two or more screens? Then simply display multiple remote screens on a 1:1 scale on your own monitors - simultaneously and without toggling.


Save Connection Settings per Computer :
Now save individual connection settings per computer in your computers & contacts list and save on configuration time during subsequent connections.


Integrated Screenshot Function :
Create a screenshot at any moment during a remote control session. Thus, snapshots of the remote screen are acquired at lightning speed.


AVI Converter :
Convert your recorded sessions into AVI format and then edit your videos at will.


Adjustable TeamViewer Panel :
Position your TeamViewer Panel wherever you like on your local monitors so that you can see every important screen area at any time.


Performance Improvement :
Especially direct connections and file transfer are now even faster due to optimization of data packets and display settings.



Optimized performance with TeamViewer Manager :
Huge speed increases, especially for large databases. Through optimized database requests, TeamViewer Manager is now up to 4x faster.


Instant Meeting :
With just one click, you can start your meeting even before adding any participants - ideal for preparation and testing. Invite your colleagues, business partners or clients on the fly.


Plan Meetings :
Plan your meetings and send invitations directly from your email client. Use the new \"My Meetings\" functionality in your TeamViewer account to maintain the perfect overview of all your planned meetings. Transfer your appointments automatically to your Outlook calendar.


Up To 25 Participants :
Invite up to 25 participants to your meeting. From marketing presentations with potential new clients in a personal 1:1 scale, to large international meetings, anything is possible.


Presenter – Organizer – Participant :
Assign different rights to your participants during a meeting. Name one participant the organizer. This person will have expanded rights in order to support you during the meeting. Alternatively you can give another participant the presenter role so that this person can share their screen.


and many more !


-----------------------------------------------------
Steps To Install TeamViewer 7 Corporate v7.12541.0


1. Run TeamViewer_Setup.exe
2. Select "Install" And Click Next.
3. Then Select "Both Of The Above" And Click Next.
4. Follow The Onscreen Instructions By The Installer.
5. When Finish Installing, Click Finish To Complete The Setup.
6. Now Make Sure The Program Is Not Running.
7. Now Go To The Folder "Patch".
8. Run "TV v7.1 Easy Patch"



Software Engineering Lecture 5

Software Engineering Lecture 3

Software Engineering Lecture 4

3500 Deluxe Web Design Graphics Collection




3500 Deluxe Web Design Graphics Collection Updated 09.09.2010

Never Be Stuck For Web Graphics, Templates, Bullets, Buttons Or Banners Again Increase Your Sales And Create Stunning Looking Web Sites With Over 3500 Attention Grabbing Graphics !This amazing collection of over 3500 website graphic elements includes all the components you need to create dozens of cash pulling sites in lightning quick time.


Install
if u want to open files just double click it and it will open with your browser..
you can also use this for web designing





WEB PAGE DESIGNING SOFTWARE - WYSIWYG Web Builder 7.1.0 Portable


WYSIWYG Web Builder 7.1.0 Portable | 8.12 MB
Web Builder is a WYSIWYG (What-You-See-Is-What-You-Get) program used to create web pages. WYSIWYG means that the finished page will display exactly the way it was designed. The program generates HTML (HyperText Markup Language) tags while you point and click on desired functions; you can create a web page without learning HTML. Just drag and drop objects to the page position them 'anywhere' you want and when you're finished publish it to your web server (using the built in Publish tool). Web Builder gives you full control over the content and layout of your web page.
WYSIWYG Web Builder features:
• No HTML knowledge needed!
• Drag and drop objects from the toolbox on the page anywhere you like!
• Site Management. Easily add, edit, clone and structure your web pages from a single file.
• Customizable menus, toolbars, keyboard accelerators, dockable windows, tabs, autohide windows.
• Form layout object to create forms, including actions, hidden fields etc.
• Supports Form fields: Editbox, TextArea, Checkbox, Radiobutton, Combobox and Button.
• Form Wizard to create form in 4 steps. Select from a dozen ready-to-use forms.
• Rich text support: text object can contain different fonts, colors, links and sizes.
• Custom HTML object to insert your own HTML or javascripts.
• ActiveX, JAVA, Flash, Windows Media player, Quicktime, Real Audio and other Plug-In support.
• Publish your entire web site, a single page or a group of pages (to local drive or a web server) .
• Built-in Photo Gallery maker, with lots of cool features like picture frames!
• Built-in Banner maker.
• Rollover images.
• Bulleted Lists: Circle, Disc, Square, Numeric (1, 2, 3), Alpha (a, b, c) , Roman (I, II, III) and custom images.
• Image maps.
• Customize scrollbar colors for Microsoft Internet Explorer.
• Navigation bars.
• Tab Menus.
• Slide Menus.
• Ready-to-use javascripts.
• Template support. Already more than 100 templates available!
• Insert Symbols (special characters).
• Slide Show component .
• Support for third-party add-ons, using the Web Builder Component Developers Kit.
• Import existing HTML pages.
• Hyperlink Style Sheet, to customize the colors/formatting of hyperlinks.
• Built-in Popup support.
• Show optional rulers and ruler guides.
• Page transitions in Page Properties.
• Inline Frame component (IFRAME).
• Go menu: easily create a drop-down navigation menus.
• Menubar: powerful menu script that can mimic complex menus found in popular GUI applications.
• Shape object (Rectangle, Round rect, Ellipse, Diamond, Hexagon, Octagon, Parallelogram, Triangle, Trapezoid, Arrows, Flag, Flower, Heart, Signs, Stars, Talk Bubbles and much more!).
• Embedded OLE component.
• Master page object. This allows you to re-use objects from other pages (master page concept).
• Layer Object for advanced layout possibilities.
• Find/Replace for text objects.
• Validation tools for form components: EditBox, Combobox and TextArea.
• Rotation for shapes and images.
• Properties Inspector for quick object manipulation.
• Ability to group/ungroup objects.
• Image tools: Contrast, Brightness, Hue/Saturation, Flip, Rotate, Resample, Crop and Stencils.
• Image effects: GrayScale, Negative, Sepia, Blur, Soften, Sharpen, Noise, Emboss and more!
• Drawing tools: Line, Line + Arrows, Scribble, Polygon, Curve and Closed Curve.
• Photo gallery border styles/ photo frames.
• Images, shapes and form controls have a new Events Page, to easily add actions to object events!
• The PayPal eCommerce Tools are the quickest and easiest way to add eCommerce to your web site!
• RSS Feed object with podcast option.
• Blog with built-in RSS feed option.
• Google compatible sitemap generator
• and much much more!

Changes in WYSIWYG Web Builder 7.1.0:
- Fixed: Bug in radio button validation.
- Fixed: Unicode Property Inspector issue with compound properties.
- Fixed: Popup window problem in menubar.
- Fixed: DatePicker z-index problem.
- Improved: Slideshow images will be hidden during page load.
- Improved: Title and Alt attributes are now encoded.
- Improved: Added title attribute for slimbox in PhotoGallery.
- Improved: Added Rename (F2), Delete (Delete) and Copy/Paste (Ctrl+C/Ctrl+V) keyboard shortcuts to the Object Manager.
- Improved: Locked object behavior.
- Improved: News viewer scripts optimized, max items now also works for RSS.
- Improved: The Target folder for file types (in Publish options) can now be a full url.
- New feature: Added margin property to SlideMenu Folder style.
- New feature: Added 'Initial value' property to DatePicker.
- New feature: Added 'Add this Guide to all pages' to guide context (right click) menu.
- New feature: Added default target property for 'Synchronize with Site Manager' option for TextMenu, Navigationbar and Menubar.
- New feature: Added Overflow to Page Properties so it can be set for each page individually. This replaces the global 'Always show vertical scrollbar to prevent shifting of the page layout' option.
- New feature: Added 'Import/Export' option to style manager. This makes it possible to import/export general and hyperlinks CSS styles!
- New feature: Added 'CC' and "BCC' options to form processor.
- New feature: Added 'Lightbox' type to the SlideShow. Yet another cool way to display your images through the SlideShow object!
- New feature: Added new option 'Save as Image' to Images, Shapes, ClipArt, TextArt and Merged Objects. This allows you to directly export the objects to an image.
- New feature: Added new color scheme 'Obsidian Theme (Black)' for a fresh new look of the user interface (Menu->Tools->Options->Misc).
- plus many other minor improvements.




HOW TO INSTALL THIS APPLICATION
...................................................

1. Install program by running "setup.exe".

2. No cracks, Serial, keygens and patches needed.

3. Enjoy........................ 





Xara Web Designer Premium 7.0.2



Xara Web Designer is unlike any web editor you will have seen before; an easy template based solution that gives you total page design freedom, no HTML skills required. Traditional web authoring tools are really just HTML editors, they are designed to create text layout, providing few, if any, graphical capabilities.


And yet it’s evident that the vast majority of modern websites are of a graphical nature. We believe you should have complete freedom to include anything – text, graphics, photos – anywhere on the page, using just one tool. And you shouldn’t need to know, or even see, the HTML that goes into creating your site, any more than a car driver needs to know how an engine works.


Web Designer gives you total design freedom – using drag and drop you can literally place anything, anywhere on the page. And things which are normally difficult to achieve in HTML are a snap in Web Designer – for example text with curved edges, text or graphics at an angle, text flowing around objects – no problem! Whether you customize one of the bundled templates or create your own graphics or animations, it’s genuinely WYSIWYG – what you see in Web Designer is exactly what you get on your website.

Some features:
* Liquid text flow around objects
* Easy mouseover, thumbnail and pop-up creation
* Automatic adjustment of photos to the correct web resolution
* One-click change of site wide theme colors and shades
* Automatic color matching of imported objects such as buttons
* Buttons and text panels that automatically stretch as you change the text

Download
Download

Java Main Program


A Java program needs to start its execution somewhere. It does so in a static method of a class. This method must be named main() and take an array of String's as parameter. Don't worry about the concepts of classes, methods and parameters for now. They will all be explained in later texts.
When you start a Java program you usually do so via the command line (console). You call thejava command that comes with the JRE, and tells it what Java class to execute, and what arguments to pass to the main() method. The Java application is then executed inside the JVM (orby the JVM some would claim). Here is a diagram illustrating this:
A command line executing the java command, which in turn executes a Java main program.
A command line executing the java command, which in turn executes a Java main program.
Here is an example command line:
    java MyProgram param1 param2 param3
The first part of this command is the java command. This command starts up the JVM. The second argument is the name of the Java class the JVM is to execute. The last three arguments are parameters to the program. These arguments are what are present in the String array of themain() method, when the main() is executed by the JVM.
Here is an example Java class with a main() method which can be executed by the JVM:
public class MyProgram {

  public static void main(String[] args) {

    System.out.println("Hello World, Java Program");

  }
}
This example shows a class called MyProgram with a static method in called main(). It is themain() method that is executed when the program is started. Whatever code is inside the main()method is what gets executed. In the example above it is the statement:
    System.out.println("Hello World, Java Program");
The main() method takes an array of String's as parameters. The parameters are provided to the program from the command line when it is executed.

Java Access Modifiers


Java classes, fields, constructors and methods can have one of four different access modifiers:
  • private
  • default
  • protected
  • public

private

If a method or variable is marked as private, then only code inside the same class can access the variable, or call the method. Code inside subclasses cannot access the variable or method, nor can code from any external class.
If a class is marked as private then no external class an access the class. This doesn't really make so much sense for classes though. Therefore, the access modifier private is mostly used for fields, constructors and methods.
Here is an example of a private field:
public class Clock {
    private long time = 0;
}
The member variable time inside the Clock class cannot be accessed from code outside theClock class. But code inside the class can access the time variable. For instance:
public class Clock {
    private long time = 0;

    public long getTime() {
        return this.time;
    }

    public void setTime(long theTime) {
        this.time = theTime;
    }
}
In the above example the two methods getTime() and setTime() can access the time member variable. The two methods are declared public, meaning they can be called from code anywhere in your application.

default

The default access level is declared by not writing any access modifier at all. Default access levels means that code inside the class itself + code inside classes in the same package as this class, can access the class, field, constructor or method. Therefore, the default access modifier is also sometimes called a package access modifier.
Subclasses cannot access methods and member variables in the superclass, if they have default accessibility declared, unless the subclass is located in the same package as the superclass.
Here is an example:
public class Clock {
    long time = 0;
}


public class ClockReader {
    Clock clock = new Clock();

    public long readClock{
        return clock.time;
    }
}
The ClockReader class above can read the time member variable of the Clock object, provided that ClockReader and Clock are located in the same package.

protected

The protected acces modifier does the same as the default access, except subclasses can also access protected methods and member variables of the superclass. This is true even if the subclass is not located in the same package as the superclass.
Here is an example:
public class Clock {
    protected long time = 0;    // time in milliseconds
}


public class SmartClock() extends Clock{

    public long getTimeInSeconds() {
        return this.time / 1000;
    }
}
In the above example the subclass SmartClock has a method called getTimeInSeconds()which accesses the time variable of the superclass Clock. This is possible even if Clock andSmartClock are not located in the same package.

public

The public access modifier means that all code can access the class, field, constructor or method, regardless of where the accessing code is located.
Here is a public field example:
public class Clock {
    public long time = 0;
}


public class ClockReader {
    Clock clock = new Clock();

    public long readClock{
        return clock.time;
    }
}
The ClockReader class can access the time field in the Clock no matter what package theClockReader is located in, because both the Clock class and the time field are declared public

Java Packages


Java packages are a mechanism to group Java classes that are related to each other, into the same "module" (package).
A Java package structure is like a directory structure. Its a tree of packages, subpackages and classes inside these classes. In fact, Java packages are indeed organized as directories on your hard drive, or as directories inside a zip file.
Here is a screenshot of an example package structure:
An example Java package structure.
An example Java package structure.
At the top you see a directory called "src". This is the source root. It is not a package itself. Inside this directory, all subdirectories are packages. Thus, "collections", "com", "concurrency" etc. are all packages. The packages are illustrated with a folder icon, in the diagram above.
I have expanded two of the sublevel packages, so you can see the classes inside. The classes are illustrated using a little blue circle with a C inside, in the diagram above.
The full path of some subpackage is its name, with all parent packages in front of it, separated by dots. For instance, the full path of "navigation" subpackage is:
com.jenkov.navigation
Similarly, the fully qualified name of a Java class includes its package name. For instance, the full qualified name of the "Page" class, is:
com.jenkov.navigation.Page

Putting Classes into Packages

In order to put your Java classes into packages, you must do two things:
  1. Put the Java class inside a directory matching the package you want to put the class in.
  2. Declare that class as part of the package.
Putting the Java classes inside a directory structure that matches the package structure, is pretty straightforward. Just create a source root directory, and inside that, create directories for each package and subpackage recursively. Put the class files into the directory matching the package you want to put it in.
When you have put your class file into the correct directory (matching the package the class should belong to), you have to declare inside that class file, that it belongs to that package. Here is how you do that:
package com.jenkov.navigation;

public class Page {
    ...
}
The first line in the code above (in bold) is what declares the class Page as belonging to the package com.jenkov.navigation.

Package Naming Conventions

Java packages are always written in lowercase letters. Not like Java classes, where the first letter is usually a capital letter.

Java Constructors


Java constructors are special methods that are called when an object is instantiated. A constructor initializes the created instance. Typically the constructor initializes the fields of the object that need initialization. Constructors can also take parameters, so fields can be initialized in the object at creation time.
Here a list of the topics covered in this text:
  • Defining a Constructor
  • Multiple Constructors
  • Calling a Constructor
  • Constructor Parameters
  • Access Modifier
  • Default, no-arg Constructor

Defining a Constructor

Here is an example of a class with a single constructor:
public class MyClass {

    public MyClass() {

    }
}
It is this part that defines the constructor:
    public MyClass() {

    }
First, an access modifier is written. These have the same meanings as for methods and fields. They determine what classes can access (call) the constructor.
Second, the name of the class is used as the name of the constructor method. This signals to the Java compiler that this is a constructor. Also notice that the constructor has no return type, like ordinary methods have.
Third, a list of parameters are declared inside the parentheses () . In the example above no parameters are declared. I will show an example of a constructor with parameters later in this text.
Fourth, the body of the constructor is defined inside the curly brackets { }. In the example above the constructor has no operations inside the constructor body.

Multiple Constructors

A class can have multiple constructors, as long as their signature (the parameters they take) are not the same. You can define as many constructors as you need.

Calling a Constructor

You call a constructor when you create a new instance of the class containing the constructor. Here is an example:
MyClass myClassVar = new MyClass();
This example invokes the no-argument constructor as defined earlier in this text.
In case you want to pass parameters to the constructor, you include the parameters between the parentheses after the class name, like this:
MyClass myClassVar = new MyClass("John", "Doe", 1975);
This example passes 3 parameters to the MyClass constructor. How to declare parameters in a constructor in the following section.

Constructor Parameters

It is possible for a constructor to take parameters. These parameter can then be used to initialize the internal state of the newly created object. Here is an example:
public class Employee {

    private String firstName = null;
    private String lastName  = null;
    private int    birthYear = 0;


    
    public Employee(String first,
                    String last,
                    int    year   ) {

        firstName = first;
        lastName  = last;
        birthYear = year;
    }
    

}
In this example the constructor definition is marked in bold. As you can see, three parameters are declared: firstlast and year. Inside the body of the constructor the values of these three parameters are assigned to the fields of the Employee object.
The line breaks after each parameter are optional. The Java compiler ignores line breaks here. You can also write the parameter declaration in a single line if you want, like this:
    public Employee(String first, String last, int year ) {
        firstName = first;
        lastName  = last;
        birthYear = year;
    }
    
To this constructor that takes parameters, you would instantiate an Employee object like this:
Employee employee = new Employee("Jack", "Daniels", 2000);
The parameters are passed to the constructor inside the parentheses after the class name on the right side of the equal sign. The object is then created, and the constructor executed. After execution of the above constructor, the fields initialized by the constructor will have the values of the parameters passed to the constructor.

Access Modifier

The access modifier of a constructor determines what classes in your application that are allowed to call that constructor. The access modifiers are explained in more detail in the text on Java access modifiers.
For instance, if a constructor is declared protected then only classes in the same package, or subclasses of that class can call that constructor.
A class can have multiple constructors, and each constructor can have its own access modifier. Thus, some constructors may be available to all classes in your application, while other constructors are only available to classes in the same package, subclasses, or even only to the class itself (private constructors).

Default, no-arg Constructor

You don't have to define a constructor for a class, but if you don't define any constructor, the Java compiler will insert a default, no-argument constructor. Thus, once the class is compiled it will always at least have a no-argument constructor.
If you do define a constructor for your class, then the Java compiler does not insert the default no-argument constructor into your class.

Powered by Blogger.

- Copyright © 2013 Taqi Shah Blogspot -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -