java

Java Point-of-Sale System for Tapsihan

Submitted by donbermoy on
This is a Point-of-Sale System for Tapsihan. Language: Java Database: MS Access This system features to have its own menu for foods like tapsilog, hamsilog, etc., drinks like softdrinks such as coke 8oz, 12oz, etc,., and extras like rice, tapa, logganiza because all of these are fixed in a Tapsihan. This system also covers to add all the desired order of the customer via clicking the images and

Genetic Algorithm: Solving the Function Optimization Problem using Java

Submitted by pavel7_7_7 on
In this article you will find a description of basic steps of the genetic Algorithm and an example of function's optimization in Java. There is a variety of problems that can not be solved with a simple algorithms. This problems needs a lot of time and resources to find a solution. Often we don't have a to find an exact solution : we can find a solution that is enough good for the goal. An example of such a kind of algorithm is Genetic Algorithm. Genetic algorithm is inspired by the process of the evolution in nature.

Work with Files in Java: Searching and Replacing Elements of Array

Submitted by pavel7_7_7 on
This article is an example of a typical college assignment. This article describes the opening file processes, and resolves some problems relevant to array usage. Often, students are asked to implement some assignments that are connected with different array algorithms. Another popular task is the reading of data from file. In this article I'll describe an example of assignment, that is connected with files and arrays in Java.

Creating a Simple Java Applet

Submitted by pavel7_7_7 on
In this article you will find information about the creating of simple applet using java.awt. Java applet is a small application created using Java language. The user starts applet from the web-browser and it's executed by the Java Virtual machine. The parameters of the applet are received from the web page and they can be used during the applet execution. We will create an Applet, that takes some information from the menu of choice lists and inputs the result of our choice. The first step to create an applet is to derive our class from Applet class.

Very Basic Java Game programming - Part 1

Submitted by mjcabalar on
I don’t know how exactly to start or make an introduction for this post. I just made in to the concept of designing a simple fighting game tutorial - from doing the character animation to its overall functionality. This tutorial is intended for beginners who really enjoy experimenting with JAVA. No, I’m not an expert game programmer. I can’t promise to owe you a good working game engine. But this

Introduction to javax.swing Library. A Simple Notepad Application. Part 2

Submitted by pavel7_7_7 on
This is the second part of the A Simple Notepad Application tutorial. In this article you will see, how all the functions of the text editor are implemented. So, we continue our work on the text editor. We have the graphical user interface. First step to implement the functionality is to add shortcut keys to every menu item. We will ise for this KeyAdapter.

Introduction to javax.swing Library. A Simple Notepad Application. Part 1

Submitted by pavel7_7_7 on
In this article I'll describe how to create a simple Notepad application using javax.swing library. Now, you know how to create java projects in Eclipse. So, we will create a new project, called coolReader. First of all, I'll show you the structure of the project: structure So, the project consists of 3 classes and a set of images, used to create some buttons. Now,we wil speak about coolReader class. This class is the class, that has the full implementation of the GUI and event handling.

Introduction to javax.swing Library

Submitted by pavel7_7_7 on
In this tutorial you will find a step by step guide about creating your first Java Application with Graphical User Interface using Eclipse IDE. Swing library is one of the most used libraries to create applications with Graphical User Interface (GUI). This library has a large set of different GUI components. We will start from the simplest application - "Hello World!" application.
  1. Open the Eclipse IDE. Choose "File" -> "New" -> "Project" from menu.