Algorithm pokemon game (pikachu)

In cases where the content is located on a row or column horizontally Where to go, vertical within the rectangle At extend horizontally, Code along the main function Update: 13/06/2014: Game Pokemon completed, you see here. Before writing this article I had to find references for articles on the algorithm of the big game on google but did not find […]

[JavaSwing] BoxLayout in Java

As you know the Container (as JFrame, JPanel, ...) used to store the control of its, however they may or may not default arrangement of objects is not our desired. So we need to use to do this Layout. In other words the Layout help we can sort of control in a reasonably Container […]

[JavaSwing] GridLayout

As you know the Container (as JFrame, JPanel, ...) used to store the control of its, however they may or may not default arrangement of objects is not our desired. So we need to use to do this Layout. In other words the Layout help we can sort of control in a reasonably Container […]

[JavaSwing] BorderLayout

As you know the Container (as JFrame, JPanel, ...) used to store the control of its, however they may or may not default arrangement of objects is not our desired. So we need to use to do this Layout. In other words the Layout help we can sort of control in a reasonably Container […]

[JavaSwing] The difference between LEFT and LEADING, RIGHT và TRAILING

As you already know how to align the objects in a Layout, namely in all FlowLayout mentioned it. When the new use will not distinguish the difference between LEFT and LEADING, RIGHT và TRAILING. In this article we will learn that. Even our objects are arranged in Container (ComponentOrientation) là left-to-right/top-to-bottom, […]

[JavaSwing] FlowLayout

As you know the Container (as JFrame, JPanel, ...) used to store the control of its, however they may or may not default arrangement of objects is not our desired. So we need to use to do this Layout. In other words the Layout help we can sort of control in a reasonably Container […]

[C / C – Android] Run C / C on android

It may sound strange and unbelievable, but actually there are several software that can. One of them is C4droid. This program takes charge to download but had the acquisition and share to everyone. 😀 Các bạn download tại đây nhé.

[JavaSwing] JTextField

Create Simple Content Get JTextField, data set from JTextField Aligning and captured the event for JTextField JTextField Some other method is an object that allows the user to enter a line of text. Often used to enter data with brief information. In the illustration above we have 4 JTextField to allow users to enter 4 corresponding information 4 JLabel in […]

[JavaSwing] JButton

Content Creating Simple Ways to JButton Action Set margin JButton is an object that allows us to click on will do something. Example button “Compute” below, when clicking on it will calculate interest based on the information entered in the JTextField Example 1: Create a simple JButton some point note * Initialize JButton: […]

[JavaSwing] JLabel

Contents Create a simple JLabel Put color, JLabel JLabel background color is often used to display text or images to make the instructions, instructions on the user interface. In the picture above using 4 JLabel user to correctly enter the required information. Example 1: Create simple JLabel result we are 3 JLabel as follows (Note file […]