How to check if file is hidden in java?

How to check if file is hidden in java?
DeeKay August 27, 2011 at 8:12 pm · java.io

Below java code shows how to check if file is hidden –


How to check whether file is writable or file has write permission in java?

How to check whether file is writable or file has write permission in java?
DeeKay August 27, 2011 at 6:32 pm · java.io

Below java code shows how to check whether file is writable or file has write permission –


How to check whether file is readable or file has read permission in java?

How to check whether file is readable or file has read permission in java?
DeeKay August 27, 2011 at 6:00 pm · java.io

Below java code shows how to check whether file is readable or file has read permission –


How to implement AppletStub interface of Applet?

How to implement AppletStub interface of Applet?
DeeKay August 27, 2011 at 2:38 am · java.applet

Below java code show how to implement AppletStub interface –


How to implement AppletContext interface of Applet?

How to implement AppletContext interface of Applet?
DeeKay August 27, 2011 at 2:29 am · java.applet

Below java code show how to implement AppletContext interface –


How to get Applet’s document URL?

How to get Applet’s document URL?
DeeKay August 27, 2011 at 1:37 am · java.applet

Below java code show how to get Applet’s document URL –


How to change an applet background color?

How to change an applet background color?
DeeKay August 27, 2011 at 1:31 am · java.applet

Applet’s default background color is Grey. If you want to change it then you need to call the setBackground(java.awt.Color) and choose the color you want. Defining the background color in the init method will change the color as soon as the applet initialized.


Video Tutorial: How to Connect MYSQL Database from Java using JDBC Driver?

Video Tutorial: How to Connect MYSQL Database from Java using JDBC Driver?
DeeKay August 27, 2011 at 12:43 am · Video Tutorial

This video shows how to connect to MySQL database from Java application using JDBC driver.


Video Tutorial: Get Started with Android Application

Video Tutorial: Get Started with Android Application
DeeKay August 27, 2011 at 12:22 am · Video Tutorial

Get started on developing Android applications with Eclipse-based development tools in this 70-minute overview of the Android platform. In a live recording from Marakana’s Android Bootcamp Training Course, Marko Gargenta will take you through: – The Android software stack – The Dalvik VM – Setting up the Android SDK with the Eclipse environment.


Video Tutorial: Android Application Development – How to use Android Location Sensors?

Video Tutorial: Android Application Development – How to use Android Location Sensors?
DeeKay August 26, 2011 at 7:03 pm · Video Tutorial

This example illustrates how to use location-based services in Android. First, we use LocationManager to figure out our current location based on the resources in the environment available to the device, such as GPS or a wireless network. Secondly, we use Geocoder to convert this location to an address.


Learn about JVM internals and what does the JVM do in video tutorial

Learn about JVM internals and what does the JVM do in video tutorial
DeeKay August 26, 2011 at 6:48 pm · Video Tutorial

In this video, Dr. Ian Rogers of Azul Systems is going to cover in detail what a Java Virtual Machine (JVM) is and what it does for your Java applications. Ian will dive into the inner workings of the JVM and drill down into what compilers and garbage collectors do. In particular, you will learn…
Continue Reading »


How to Install Nikto Web Server Scanner in Linux?

How to Install Nikto Web Server Scanner in Linux?
DeeKay August 22, 2011 at 4:29 am · Linux

Nikto is a web server scanner tool, which performs comprehensive checking against web servers for multiple items, including over 3500 potentially dangerous files/CGIs, versions on over 700 servers, and version specific problems more than 200 servers.   Nikto is built on LibWhisker and can run on any platform which has a Perl environment, and supports…
Continue Reading »


How to install Joomla with XAMPP Server?

How to install Joomla with XAMPP Server?
DeeKay August 19, 2011 at 11:54 pm · Linux, Other

Do you know What is Joomla and XAMPP and How to install Joomla with XAMPP server locally. So here is all you want : Joomla is a free and Open Source content management system used to create websites. Joomla allows web designers to construct sites by combining modules, and requires basic knowledge of programming to…
Continue Reading »


How to Configure Wireless Card Broadcom BCM4312 in Fedora?

How to Configure Wireless Card Broadcom BCM4312 in Fedora?
DeeKay August 19, 2011 at 9:51 pm · Linux

Broadcom provides Linux drivers for most of its wireless chip sets. Prior to the release of official drivers from Broadcom, the open source software community had various workarounds. Some people used Windows drivers through ndiswrapper. Others used fwcutter. STEP 1: Enable the RPM Fusion repositories # rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm # rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm STEP 2: Update the system # yum update…
Continue Reading »


How to Install Windows Font in Linux?

How to Install Windows Font in Linux?
DeeKay August 19, 2011 at 9:28 pm · Linux

Install windows fonts using one of mentioned method. Method 1: Copy the *.ttf (True Type Fonts) fonts like Arial, Tahoma, Verdana, Courier New and Times New Roman from the windows partition to the fonts:// location in nautilus. Method 2: For Ubuntu users, and since Ubuntu does not have a root account, they find difficulty in…
Continue Reading »


How to Reset User Password in Linux?

How to Reset User Password in Linux?
DeeKay August 14, 2011 at 10:43 pm · Linux

# passwd User_Name # passwd ******** # passwd ********* Sample outputs: Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully To Change Your Own Password or as a normal user, Simply type the passwd command: $ passwd Sample outputs: (current) UNIX password: Enter new UNIX password: Retype new UNIX password: passwd: password…
Continue Reading »


How to Use Masquerade functionality of Sendmail in Linux?

How to Use Masquerade functionality of Sendmail in Linux?
DeeKay August 14, 2011 at 10:15 pm · Linux

With the help of masquerading functionality of sendmail, your outgoing email appears from [email protected] instead of [email protected] This will also hide your internal user name or host name from rest of the world or unsecured environment. So this masquerading functionality of sendmail rewrites the hostname in the address of outgoing mail. Sendmail configuration for masquerading…
Continue Reading »


How to Activate Fedora Linux Root User Login?

How to Activate Fedora Linux Root User Login?
DeeKay August 14, 2011 at 9:59 pm · Linux

Fedora Linux uses pam module called pam_succeed_if.so for its authentication.Default configuration of this module blocks root login using GUI. STEP 1: Login as a Normal User. STEP 2: Open the terminal and use your favourite text editor like vim or gedit to open the /etc/pam.d/gdm. # su -c “vim /etc/pam.d/gdm” STEP 3: Comment the following…
Continue Reading »


How to Write/Store an object to file in java?

How to Write/Store an object to file in java?
DeeKay August 5, 2011 at 5:29 pm · java.io

Writing a Java objects to a file is called as Serialization in java. In order to do this, you have to implement the Serializable interface, and use ObjectOutputStream to write the object into a file. To do this we have created Employee class which implements java.io.Serializable. To write an object to a stream call the…
Continue Reading »


How to create new file in Java?

How to create new file in Java?
DeeKay August 5, 2011 at 4:16 pm · java.io

Below is the java code to create a new file using java.io.Java class