Reading data from console with Console class in Java

Java 6 allows to read data from system console with Console class. There are several ways to do it,but I personally like this one.

. . . →Read More:Reading data from console with Console class in Java

Share

Redirecting System.out,System.in,System.err in Java

Sometimes need to redirect System.out,System.in,System.err. It is very easy. I am going to show here how you can do it.

. . . →Read More:Redirecting System.out,System.in,System.err in Java

Share

UML:Use Cases

A Use case is a case or situation where your system is used to fulfill one or more of user’s requirements. A use case captures a piece of functionality that the system provides. Use cases are a starting point for just about every facet of object-oriented system development,design,testing and documentation. They describe a . . . →Read More:UML:Use Cases

Share

NetBeans IDE 6.9 Milestone 1 is available

The NetBeans team has announced that NetBeans IDE 6.9 Milestone 1 is available for download.

Highlights of this build include:

NetBeans Platform OSGi interoperability New Maven project archetypes available Easy import of OSGi bundles for use in Ant projects Java EE Support for Contexts and Dependency Injection Simplified REST Web Services consumption in NetBeans RCP . . . →Read More:NetBeans IDE 6.9 Milestone 1 is available

Share

Introduction to the UML

Unified Modeling Language (UML) – is a language for modeling software and other system. System design is not easy thing. Every software system consists of components (from several to thousand). There is a normal question:“How do you (your team) know which components need,what their role is in system and how they met system’s . . . →Read More:Introduction to the UML

Share

Project Kenai is closing

I have used this open source project hosting service for several years and this news is really bad for me and for all who are using Kenai.com. The end date for when this will happen –April 2nd,2010. If you have a public project on there that you want to keep,now is the . . . →Read More:Project Kenai is closing

Share

Showing running services in Android

Here I want to share snippet of code which I found when I tried to get all services which are running in Android. It is very simple and useful.

public class Main extends Activity{private static String APP_TAG = “tag”;@Override public void onCreate(Bundle savedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.main);ActivityManager activityManager = (ActivityManager) getSystemService(ACTIVITY_SERVICE);List<ActivityManager.RunningServiceInfo> . . . →Read More:Showing running services in Android

Share

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna,tincidunt vitae molestie nec,molestie at mi. Nulla nulla lorem,suscipit in posuere in,interdum non magna.