[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 […]

[Entertainment] Putting things across the river

[Game] After crossing the river the problem of portable lights, some you win, but some of you still can not figure out how to play right up to glory. =)) Putting his introduction to all things across the river to reduce your stress.

[Entertainment] Portable lights across the river

[Game] Xách lights across the river game epitomized algorithm but no less fun, promoting curiosity, clever, people try considered. Have 1 group 5 the last person on the other side of the river bank 1 narrow bridge at night. This relatively weak bridges crossing every turn can only max 2 people. Because it was quite dark so they cross the bridge […]

[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 […]

[Algorithm] Interval Tree (Segment Tree) – Basswood

This document is written on Interval Tree relatively complete, clear and easy to understand. You watch and download here.

[Trivia] Provincial license plates

Cao Bang 11 no wrong Lang Son Northwest 12 carefulness 13 Hebei invited (*) Quang Ninh 14 four surface coal 15, 16 and bringing soil Haiphong North exuberant sentimental 17 Pacific region 18 Nam Dinh Phu Tho my hometown pretty beautiful 19 Lac Hong Thai Nguyen Thanh Kinh Sulfate, gang, Sometimes co-fifty (20) easy to remember in our hearts Yen Bai 21 Eww […]

[Poetry bullshit] The number of black

I walk in the gloomy winter night hungry when no coin in your pocket as the true Self is blackened shrimp pasta package nor eat — nguyenvanquan7826 — evening at a school fails ^ - ^

[Linux] Type the Vietnamese on Linux

To type in Vietnamese in general and Ubuntu Linux in particular, You are more popular choice as Unikey, Polypody… but really, I find it somewhat Unikey errors and inconveniences when typing it on underlined below and click on Where is he that he copied it from being knocked out of the way, there is no use scim ever. Finally, I see […]

[Trivia] The special characters

Here are some special characters, making fun icons, used in the game, … ๖ۣۜA ๖ۣۜB ๖ۣۜC ๖ۣۜD ๖ۣۜE ๖ۣۜF ๖ۣۜG ๖ۣۜH ๖ۣۜI ๖ۣۜJ ๖ۣۜK ๖ۣۜL ๖ۣۜM ๖ۣۜN ๖ۣۜO ๖ۣۜP ๖ۣۜQ ๖ۣۜR ๖ۣۜS ๖ۣۜT ๖ۣۜU ๖ۣۜW ๖ۣۜV ๖ۣۜX ๖ۣۜY ๖ۣۜZ ☺☻ ♦ ♣ ♠ ♥ ♂ ♀ ♪ ♫ ☼ ↕ ✿ ⊰ ⊱ ✪ ✣ ✤ ✥ ✦ ✧ ✩ ✫ ✬ ✭ ✯ ✰ ✱ ✲ ✳ ❃ ❂ […]