Aatul Palandurkar

Architecture of Java Program

Objective :

  • What is architecture of Java program?
Architecture of Java Program

Architecture of Java Program

While writing a java program, the above architecture need to be followed.

As the figure describes, documentation part or writing comments into program is completely optional. If you want to know, how to write comments & documentation in java? Click here

If the programmer wants to keep class in some package then only he/she will declare the package.

If we need to link any other class from some package then, we will write import statement otherwise if the classes are in same package there is no need of import statement.

Whereas class definition & program body is compulsory which will have your actual code.

Gmail’s new look

Hey folks,

Gmail has changed its look & this seems to be great, I have started liking it. There are several new things are incorporated in new look & many things are changed too. Following are some of the new features in Gmail now :

  • Modern look
  • New themes
  • Clean & improved conversations
  • Customizable new ways
  • Search & Filters made simple
  • New Toolbar
  • More control
  • And much more.
Gmail's new look

Gmail's new look

 

 

 

 

 

 

 

 

 

 

 

 

 

Video :

[youtube=http://www.youtube.com/watch?feature=player_embedded&v=vfW5e6jVsMs]

Java Magazine

[youtube:http://youtu.be/PT8LUpg27c8]

What is Java Magazine?
Java Magazine is an essential source of knowledge about Java technology, the Java programming language, and Java-based applications for people who rely on them in their professional careers – or aspire to. With contributors ranging from across the ecosystem, Java Magazine is truly designed by, and for, the community.

Magazine Coverage :

  • J2SE
  • J2EE
  • J2ME (Java ME)
  • Java FX
  • Other Languages & Technologies based on Java
  • Tips & Tricks
  • Many more stuffs

Link : Click here for Digital Version of Java magazine.

Custom Widget Code for blog & websites :

<table border=”0″ cellpadding=”0″ cellspacing=”0″>
<tbody>
<tr style=”background-color:#D2D2D2;height:30px;”>
<td><img class=”navlogo” src=”http://images-cdn.dashdigital.com/javamagazine/include/icons/navbar_logo.gif?lm=1317349588000″ alt=”www.oracle.com/javamagazine” align=”left” height=”28″> </td>
<td style=”COLOR: #666666;font-weight:bold;font-family:tahoma, sans-serif;font-size:11px;line-height:15px;padding-right:5px;” align=”right”><span id=”top_right_text”>Look inside &gt;</span> </td>
</tr>
<tr style=”background-color:#FFFFFF;”>
<td colspan=”2″ style=”padding:10px 0px;” align=”center”> <a href=”http://www.oraclejavamagazine-digital.com/javamagazine/premiere2011?pg=1″ target=”_blank” onclick=”window.open(‘http://www.oraclejavamagazine-digital.com/javamagazine/premiere2011?pg=1′,’sharewidget’,’toolbar=no,menubar=no,resizable=yes,scrollbars=yes,left=0,top=0,width=’+(screen.width-10)+’,height=’+(screen.height-10)+”);return false;” title=”View Magazine”> <img src=”http://images-cdn.dashdigital.com/javamagazine/premiere2011/data/imgpages/smtn/0001_nceppo.gif?lm=1317349588000″ alt=”Cover” border=”0″> </a> </td>
</tr>
<tr style=”background-color:#D2D2D2;height:30px;”>
<td colspan=”2″ style=”COLOR: #666666;font-weight:bold;font-family:tahoma, sans-serif;font-size:11px;line-height:15px;” align=”center”><span id=”bottom_text”>Premiere Issue 2011</span> </td>
</tr>
</tbody>
</table>


Twitter Keyboard Shortcuts

Looking for twitter keyboard shortcuts, here are they;

 

Actions

  • f : Favorite
  • r : Reply
  • t : retweet
  • m : Direct message
  • n : New Tweet
  • Enter : Toggle details pane

 

Navigation

  • ? : This menu
  • j : Next tweet
  • k : Previous Tweet
  • space : Page down
  • / : Search
  • . : Refresh tweets & back to top

 

Timelines

  • g h : Home
  • g r : Replies / mentions
  • g p : Profile
  • g f : Favorite
  • g m : Messages
  • g u : Go to user

Data Types in Java

In Java there are total 8 data types available which are further divided into 4 groups viz. integers, floating point numbers, character & boolean values.

Type

Size in Bytes (Bits)

Range

Default value

Contains

Integers
Byte 1 byte (8 bits) -128 to 127 0 Signed Integer
Short 2 bytes

(16 bits)

-32768 to 32767 0 Signed Integer
Int 4 bytes

(32 bits)

-2147483648 to 2147483647 0 Signed Integer
Long 8 bytes

(64 bits)

-9223372036854775808 to 9223372036854775807 0 Signed Integer
Floating point numbers
Float 4 bytes

(32 bits)

-3.4e38 to 3.4e38

(i.e. 3.4*1017)

0.0 IEEE754 Floating point number
Double 8 bytes

(64 bits)

-1.7e308 to 1.7e308

(i.e. 1.7*10151)

0.0 IEEE754 Floating point number
Characters
char 2 bytes

(16 bits)

\u0000 to \uFFFF \u0000 Unicode Characters
Boolean values
boolean 1 bit Not Applicable False true or false

Table : Data Types in Java

 

Window Wizard Test Specification for NetBeans 7.1

While working with NetCAT team for the certification of NetBeans 7.1, the NetBeans User Group, Nagpur (NUG Nagpur) was assigned a task to create 7 different test specifications for the new features which are going to be introduced for the first time in NetBeans 7.1. Thanks a lot Jiri Kovalsky, NetCAT Manager, NetBeans, Oracle for showing trust in us.

Hence, we 7 people from NUG Nagpur were assigned a individual task. I was assigned to write a complete test specification for window wizard, which  is a new feature in NetBeans 7.1 that allows developer to design forms & UI with the help of GUI designer for NetBeans Platform Applications.  I have created the window wizard test specification for NetBeans 7.1.

Link : Window Wizard Test Specification