Archive | Programming

Install Android programming tools – Troubleshooting when creating android project 2.2

2 following video guides you how to install Android programming tools on windows and fix errors when creating a new project android 2.2 in the new version. Posts made in a series of collaborative programming Admin Society PTIT

Genymotion virtual machine instruction for Android SDK

Long time no time and conditions Reply, Today with the help of his friend, I should have gotten the chance =)). This article written by you Nguyen Van Chung. As you know, although the Android SDK Emulator-integration was tested for applications when you work. But it has considerable limitations is relatively slow pace […]

[Java Swing] JComboBox in Java – JComboBox in Java

Creating Content for JComboBox JComboBox JComboBox Getting event is an object that allows you to select an element to click on the arrow of it. For example, I have a JFrame JComboBox selected from the following flags: Now we are going to learn by creating a JFrame JComboBox like on. How to create a JComboBox To create JComboBox we use the constructor […]

[Java swing] JToolBar in Java

JToolBar is a long bar with icons including the corresponding button is usually located under the menu, like toolbars in Word, excel with new buttons, open, save, … We will implement programs like the image above, including 3 new button, open, Save on the toolbar. When you click on the button below JTextArea will display the corresponding event. This toolbar you can […]

[Java swing] JFileChooser in Java

JFileChooser in Java is an object display frame allows you to open or save the file. It's like this: Now we will go as a simple example of open and save files. In the code above you noticed 2 displayed in order to open and save files are different. int select = fc.showOpenDialog(this); int select = fc.showSaveDialog(this); The next argument is that you can JFileChooser.APPROVE_OPTION […]

[Java Swing] JMenu in Java

The writing on the JMenu however find all this code, it is sufficient, explain the relatively clear. First we need to add a MenuBar in JFrame, JMenu then added to the MenuBar, the JMenuItem be added to the JMenu. The program includes JPopupmenu (right click). Also you need to have the image of the icon in the menu, copy the image into […]

[School_VXL] The document processor and assembly

Some references curriculum and theory processor assembly: download theme designed processor: download Review Questions processors: download syllabus microcontroller 8051: download Microprocessor Test and assembly: download

[Java] Check the number of elements in Java

Video below will guide you to enter a number and check if it is prime or not. Do không có micro nên nó hơi ồn các bạn cố gắng vậy 😀 Video thứ 2 This will test and generate prime numbers in an array

[Java] For example, network programming in Java

Video below will guide you to a simple example of network programming in Java. The content of the program is to create 1 server and a client connection and receive information for each story. (little-known baby, you wear the headset on nhé)

[Java] Round Robin simulation strategy management process

Strategy Round Robin is one of the strategic management, coordination process. The following will simulate the workings of this strategy. Upper right panel allows the process to enter the turnaround time (Round robin – Import 1 time), name of progress, Time to, running time of the CPU. Upper right panel will show the progress […]