New Time

Fix the time issues, now it is the NZ time

From wiki:

New Zealand is an island country in the south-western Pacific Ocean comprising two main landmasses (the North Island and the South Island) and numerous smaller islands, most notably Stewart Island/Rakiura and the Chatham Islands. The indigenous Māori named New Zealand Aotearoa, commonly translated as The Land of the Long White Cloud. The Realm of New Zealand also includes the Cook Islands and Niue (self-governing but in free association); Tokelau; and the Ross Dependency (New Zealand’s territorial claim in Antarctica).

New Zealand is notable for its geographic isolation, situated about 2000 km (1250 miles) southeast of Australia across the Tasman Sea, and its closest neighbours to the north are New Caledonia, Fiji and Tonga. During its long isolation New Zealand developed a distinctive fauna dominated by birds, many of which became extinct after the arrival of humans and the mammals they introduced.

The population is mostly of European descent, with the indigenous Māori being the largest minority. Asians and non-Māori Polynesians are also significant minorities, especially in the cities. Elizabeth II, as the Queen of New Zealand, is the Head of State and, in her absence, is represented by a non-partisan Governor-General. The Queen ‘reigns but does not rule.’ She has no real political influence, and her position is essentially symbolic. Political power is held by the democratically elected Parliament of New Zealand under the leadership of the Prime Minister, who is the head of government. New Zealand’s open economy is known for being one of the world’s most free market capitalist economies.[5]

What will happen if we put some code into the post?


public class DnDBetweenJTextAreaAndJTextFieldDemo {
System.out.print(”Hello World”);
System.out.print(”Hello World Again!!!!!”);
System.out.print(”You Feel me!!!!!”);
JTextArea textArea = new JTextArea(11, 99);
textArea.setText(”whatever”);
}

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JTextField;

public class DnDBetweenJTextAreaAndJTextFieldDemo {
public static void main(String[] args) {
JFrame frame = new JFrame(”Drag and Drop Demo”);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setContentPane(new JPanel());
JTextField textField = new JTextField(25);
textField.setText(”www.java2s.com”);
frame.add(textField);

JTextArea textArea = new JTextArea(4, 25);
textArea.setText(”Demonstrating\ndrag and drop”);
frame.getContentPane().add(new JScrollPane(textArea));
textArea.setDragEnabled(true);
textField.setDragEnabled(true);
frame.pack();
frame.setVisible(true);

}
}

Quote Of July

Laughter and tears are both responses to frustration and exhaustion. I myself prefer to laugh, since there is less cleaning up to do afterward".
- Kurt Vonnegut (1922 - 2007)

About

Hi there. I'm Tony, a web designer who enjoys creating functional and beautiful websites for clients. Shadowgem.com is simply my own little online showcase for those solutions. Hope you enjoy!

Tony is holding a Bachelor of Science, computer science degree with average A Grade from University Of Auckland, and Diploma of Digital Media with Merit from the Media Design School.

Contact

Please feel free to send me an email at xiatao924@gmail.com

They need you

Support a child in need for a whole year, act now.