xboxrulz1405241485
Members-
Content Count
3,012 -
Joined
-
Last visited
Everything posted by xboxrulz1405241485
-
couldn't you just create a Shell script (in UNIX) or a .BAT file (Windows) to launch your standalone Java application?xboxrulz
-
You can make a Java test applet and embed it to your website. The following code is an example: import java.applet.Applet;import java.awt.event.*;import java.awt.*;//intializes the Applet and the ActionListenerpublic class Problem1 extends Applet implements ActionListener{ // creates space for the labels and textfields Label lblPrice = new Label ("Product Price: "); Label lblQuantity = new Label ("Quantity: "); TextField txtPrice = new TextField(25); TextField txtQuantity = new TextField(10); TextArea txaOutput = new TextArea("Calculation Result" + "\n", 10,30); Button btnCalculate = new Button ("Calculate Price"); // initializes the objects to be created and link it with an ActionListener public void init() { DesignLayout(); txtPrice.requestFocus(); txtPrice.addActionListener(this); txtQuantity.addActionListener(this); btnCalculate.addActionListener(this); } // tells what the ActionListener to do public void actionPerformed(ActionEvent evt) { float Price = Float.valueOf(txtPrice.getText()).floatValue(); float Quantity = Float.valueOf(txtQuantity.getText()).floatValue(); float Total; Total = Price*Quantity; txaOutput.append("\n" + Price + "\t" + Quantity + "\t" + Total); ClearTextFields(); } // shows how things are placed using the DesignLayout() tool public void DesignLayout() { GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints constraints = new GridBagConstraints(); setLayout(gridbag); constraints.insets = new Insets(5,5,5,5); //Row 1 Label constraints.weightx = 1.0; constraints.anchor = GridBagConstraints.WEST; constraints.fill = GridBagConstraints.NONE; gridbag.setConstraints(lblPrice, constraints); add (lblPrice); //Row 1 Text constraints.weightx = 3.0; constraints.gridwidth = GridBagConstraints.REMAINDER; constraints.anchor = GridBagConstraints.EAST; gridbag.setConstraints(txtPrice, constraints); add(txtPrice); //Row 2 Label constraints.weightx = 0; constraints.anchor = GridBagConstraints.WEST; constraints.fill = GridBagConstraints.NONE; gridbag.setConstraints(lblQuantity, constraints); add(lblQuantity); //Row 2 Text constraints.gridwidth = GridBagConstraints.REMAINDER; constraints.anchor = GridBagConstraints.EAST; gridbag.setConstraints(txtQuantity, constraints); add(txtQuantity); //Row 3 Button constraints.gridwidth = GridBagConstraints.REMAINDER; constraints.gridx = 0; constraints.anchor = GridBagConstraints.EAST; gridbag.setConstraints(btnCalculate, constraints); add(btnCalculate); //Row 4 Text Area constraints.gridx = 0; constraints.gridwidth = 2; constraints.anchor = GridBagConstraints.CENTER; gridbag.setConstraints(txaOutput, constraints); txaOutput.setEditable(false); add(txaOutput); } // this method sets ClearTextFields to clear all the text after each query public void ClearTextFields() { txtPrice.setText(""); txtQuantity.setText(""); } } All you need is a Java IDE to run this file. I recommend NetBeans xboxrulz
-
I prefer NetBeans because it's really friendly and it runs on a lot of major operating systems like Windows, Mac, Linux, Solaris and even BSD.Furthermore, NetBeans has migration options from Eclipse and JBuilder (one that my school uses).xboxrulz
-
Java Unlimited Java,jsp,servlet,Swing,GUI Designing
xboxrulz1405241485 replied to arunkumarhg's topic in Programming
I don't think Flash and Java can communicate with each other. I couldn't fins such framework for it in the Java JDK API documents. http://docs.oracle.com/javase/1.5.0/docs/api/ xboxrulz -
What Was Toronto Thinking In 1923?
xboxrulz1405241485 replied to xboxrulz1405241485's topic in General Discussion
ya me too and then ... the Canadian Transportation Safety Board will have so many accidents to take care of :s.xboxrulz -
Solar System To Have 12 Planets
xboxrulz1405241485 replied to xboxrulz1405241485's topic in Science and Technology
nice comments everyone, it was a great read...However, it only took me 2-3 minutes to memorize the solar system.Mercury, Venus, Earth, Mars, Cereus, Jupiter, Saturn, Uranus, Neptune, Pluto, Charon, and 2003 UB 313.xboxrulz -
KDEWolf, I have to disagree about your AGP/PCI-E support and long term support section. NVIDIA still produces cards in the 7xxx series for AGP. 7xxx being their latest series, they still support people in older architecture. ATI, however has ditched AGP support on their X series, which is the equivalent or under NVIDIA GeForce 7xxx series.Even in driver support, they just recently removed anything under GeForce 3 a couple months back. However, ATI dropped support for the 8xxx series long ago. Which, this series is a later series than the GeForce 3 series.xboxrulz
-
Best Messenger what is the best im messanger in your idea ?
xboxrulz1405241485 replied to m107's topic in Software
I use Kopete because I didn't like Mercury since it's using Java and Java sucks when you have more than 5 conversations going at the same time or have a conference. Also, Kopete can handle all my AIM/Yahoo!/Jabber and MSN. However, I still prefer Skype.I don't like GAIM either and especially how it's outlined. They save your contact list into the local computer. It's highly annoying whenever you delete contacts on another computer not running GAIM and come back to one that is .. It'll then ask you to resync the contact list.xboxrulz -
Source: http://forums.xisto.com/no_longer_exists/ Your comments? xboxrulz
-
I always favoured NVIDIA, even though ATI is cheaper, especially in Canada (since ATI is a Canadian company)... but I talk about overall performance. NVIDIA has the best driver you can find for video cards. It's pixel shader is top notch too. However, ATI beats NVIDIA in speed. However, when it comes to graphics, I think speed is not as important as quality.The best thing about NVIDIA is that they support many UNIX operating system like Linux, Solaris and BSD.xboxrulz
-
There are such incidents. However, you must MAKE SURE THAT YOU INSTALLED IT PROPERLY.xboxrulz
-
I'm suspecting that your machine might be overheating. Go to the BIOS and then check the machine temperature. Any modern machine should have a temperature meter. If the temperature is over 60 degrees celcius (unless overclocked) then your computer is definitely overheating. If it's above 55 degrees celcius, you should keep an eye on your computer at all times, unless you might run into the risk of it bursting if it's on top of carpet.xboxrulz
-
Windows Xp 64 Compatibility Problems
xboxrulz1405241485 replied to tansqrx's topic in Websites and Web Designing
of course! An AMD64 processor was meant to run 64-bit and 32-bit applications natively with little or none cost of performance. The difference is that one can run on 4GB+ of memory and the other cannot. Furthermore, the processor running 32-bit application will not use the full potential of the processor. However, the AMD64 architecture was designed to run 32/64-bit apps natively. Therefore, running Windows XP or any operating system, including Linux as 32 bit is perfectly fine.xboxrulz -
Phpbb Or Smf? I really dunno...
xboxrulz1405241485 replied to souradipm's topic in Websites and Web Designing
eh, I prefer Quicksilver Forums, an official branch off MercuryBoard. Well, I prefer it because it's fast, and it's liteweight. That's also why I joined the development team.xboxrulz -
Windows Trash, Really Is Trash !
xboxrulz1405241485 replied to dhanesh1405241511's topic in Software
or the best way to do it immediately is to start the command prompt (cmd) and then type del (filename).xboxrulz -
ummm... can you post us your computer's specification, especially the voltage that your country's electricity grid uses (ex: 120V in North America and 220V in Hong Kong). Also, can you give us the voltage of your Power Supply Unit?Furthermore, can you provide what operating system you're running on?xboxrulz
-
Windows Xp 64 Compatibility Problems
xboxrulz1405241485 replied to tansqrx's topic in Websites and Web Designing
Yes, there are many incompatibilities on the 64-bit edition, I did have to reinstall my brother's computer (which ran the 64-bit Windows) back to 32-bit just to get out of this incompatibility hell hole.xboxrulz -
Happy Birthday Pc born on 12th., Aug., 1981
xboxrulz1405241485 replied to XIII's topic in Websites and Web Designing
Over here at Wikipedia, there's a section of Personal Computers that are not IBM based, but are still referred as Personal Computers: http://forums.xisto.com/no_longer_exists/ xboxrulz -
Software Ownership first sale doctrine
xboxrulz1405241485 replied to okwhen's topic in Websites and Web Designing
Yes, computer software now-a-days, no longer conform with traditional rules, where if you buy it, you own it. Instead, you just buy the rights to run the software. However, you can still sell your rights to someone else, as long as you NO LONGER HAVE THE SERIAL NUMBER YOURSELF unless stated in the software's EULA, in this case Microsoft barred you from doing so.xboxrulz -
Happy Birthday Pc born on 12th., Aug., 1981
xboxrulz1405241485 replied to XIII's topic in Websites and Web Designing
I don't think PC should be synonymous with the x86 processor. This is highly misleading because the Personal Computer means that it's your computer and that you own it. That, is why it's called a PERSONAL Computer. Also, the name PC was actually popularized by Apple.xboxrulz