Understanding Event Dispatching Thread in Java

Posted on Sat 24 August 2019 in Java • Tagged with Java

Swing provides a rich toolkit of GUI components which can be used to create powerful User Interface. Sometimes, we don’t get expected results when we are working on complex GUI & try to update GUI of that running application. From running application we mean that we have a Swing application …


Continue reading

Creating your first Java Program (J4A - 2)

Posted on Sat 22 February 2014 in J4A (Java for Android), Programming • Tagged with Android, Java

Beginning Java Programming

Some institutes/tutorials start java directly using Netbeans or Eclipse IDE. But this is not the correct way. A better method is to use a basic text editor like Notepad2 or Notepad++ to begin Java. IDE’s provide shortcuts which experienced programmers use. If beginners opt for …


Continue reading

Moving from C++ to Java (J4A - 1)

Posted on Sat 22 February 2014 in J4A (Java for Android), Programming • Tagged with Android, Java

C to C++ and C++ to Java:

C was a powerful programming language but used structural approach. So when the length of code exceeded a particular no. of lines, the code became unmanageable. So this led to Object Oriented Programming techniques and birth of C++. But C++ compilers at that …


Continue reading

Introduction and Syllabus (J4A - 0)

Posted on Sat 22 February 2014 in J4A (Java for Android) • Tagged with Android, Java

Hello geeks, (J4A) Java for Android is a series of tutorials for those who have good knowledge of C++ and want to switch to android without going into details of Core Java. So here we'll discuss ONLY THOSE features of JAVA (keywords, classes, concepts) which are used in android also …


Continue reading

Java: Autoboxing and -XX:AutoBoxCacheMax

Posted on Thu 13 February 2014 in Java • Tagged with Java

Autoboxing is the mechanism in Java to convert primitive type values to respective wrapper class object. Java programmer mostly use autoboxing while using collections, since collection only holds object and to put primitive type data into collection, it's need to use wrapper classes to convert into objects.

So , here is …


Continue reading

Java Multithreading : Thread States and Thread Priority

Posted on Sat 08 February 2014 in Java • Tagged with Java

In a thread lifecycle it can  have one of the  following states mentioned below. I have already explained Thread Life Cycle and basics of thread including Daemon Threads.

Now let see inside the thread states and how to achieve them .


Continue reading

Java Multithreading

Posted on Wed 05 February 2014 in Java • Tagged with Java, Open Source

*Threads. * Thread is also known as lightweight process. Java multithreading allows to process multiple task simultaneously with less overhead than process. Mostly use to monitor session, background synchronization etc.

Content

Processes …


Continue reading

Create your own Simple File Transfer App over LAN (with Source code in JAVA)

Posted on Thu 30 January 2014 in How To DIY • Tagged with Java, Networking, Sockets

Many Core Java packages can be used to create useful applications. This application uses java.net package to establish connection between two systems residing on the same network.  This point is important, because it will not work for arbitrary networks (having no connection between them). For those who don't have …


Continue reading

Beginning Android, for Java / C++ programmers (Android-Part 0)

Posted on Mon 27 January 2014 in Android • Tagged with Android, Java, Programming

Beginning Android

Most of the people now have Android devices. This attracts a lot of people to begin career as an Android Developer. Although creating games with sophisticated graphics isn't easy, but creating a simple Android app is. What you need to start Android Application Development is good knowledge of OOPS concept …


Continue reading

JAVA - Getting Started with Introduction

Posted on Sun 26 January 2014 in Java • Tagged with Java

Introduction_to_java

Before learning JAVA, it is advisable that you should have a programming background. Even if you re not from programming background, I will try to make it as simple as I can.

JAVA is one of the most powerful language. The various software which are powered by this programming language …


Continue reading