• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Java

JavaFX ComboBox: Set a value to the combo box

by admin

A list is a little more complicated, but also a lot more fun to work with, because using JavaFX there is a lot you can do with a list. The class that needs to be instantiated to create a list object is named ComboBox . This class is just one of a bigger family of […]

Filed Under: Java

keytool error java.io.FileNotFoundException: (Access is denied)

by admin

keytool manages and manipulates a keystore, a repository for public and private keys and public key certificates. keytool defines various commands for generating keys, importing data into the keystore, and exporting and displaying keystore data. Keys and certificates are stored in a keystore using a case-insensitive name or alias. keytool uses this alias to refer […]

Filed Under: Java

Java Date and Time

by admin

Java provides the Date class available in java.util package, this class encapsulates the current date and time. Date( ) – This constructor initializes the object with the current date and time. Date(long millisec) – This constructor accepts an argument that equals the number of milliseconds that have elapsed since midnight, January 1, 1970. Following are […]

Filed Under: Java

Java – Networking

by admin

Java Networking is a concept of connecting two or more computing devices together so that we can share resources. The java.net package of the J2SE APIs contains a collection of classes and interfaces that provide the low-level communication details. Java socket programming provides facility to share data between different computing devices. The java.net package provides […]

Filed Under: Java

Java – Documentation Comments

by admin

The Java language supports three types of comments: /* text */ – The compiler ignores everything from /* to */. //text – The compiler ignores everything from // to the end of the line. /** documentation */ – This is a documentation comment and in general its called doc comment. The JDK javadoc tool uses […]

Filed Under: Java

Java Applet Basics

by admin

An applet is a Java program that runs in a Web browser. An applet can be a fully functional Java application because it has the entire Java API at its disposal. The applet is a special type of program that is embedded in the webpage to generate dynamic content. It runs inside the browser and […]

Filed Under: Java

Java – Multithreading

by admin

Multithreading is a Java feature that allows concurrent execution of two or more parts of a program for maximum utilization of CPU. Each part of such a program is called a thread. Multitasking is when multiple processes share common processing resources such as a CPU. Each of the threads can run in parallel. The OS […]

Filed Under: Java

Java – Sending Email

by admin

To send an e-mail using your Java Application is simple enough but to start with you should have JavaMail API and Java Activation Framework (JAF) installed on your machine. Download and unzip these files, in the newly created top-level directories, you will find a number of jar files for both applications. You need to add […]

Filed Under: Java

Java Interfaces

by admin

Writing an interface is similar to writing a class. But a class describes the attributes and behaviors of an object. And an interface contains behaviors that a class implements. An interface is similar to a class in the following ways: An interface is written in a file with a .java extension, with the name of […]

Filed Under: Java

Java Packages

by admin

A Package can be stated that a grouping of related types (classes, interfaces, enumerations, and annotations ) providing access protection and namespace management. Some of the existing packages in Java are: java.io – classes for input , output functions are bundled in this package. java.lang – bundles the fundamental classes. Creating a Package The package […]

Filed Under: Java

Next Page »

Primary Sidebar

Recent Posts

  • JavaFX ComboBox: Set a value to the combo box
  • Nginx load balancing
  • nginx 504 gateway time-out
  • Images preview with ngx_http_image_filter_module

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright