Forum: Java Mar 10th, 2005 |
| Replies: 4 Views: 3,738 hmm im not sure to what extent java can utilize the windows api so I'm not exactly sure how to tackle this one in java. In C/C++ however, using the windows api you can grab the windows HWND, then... |
Forum: Java Mar 10th, 2005 |
| Replies: 2 Views: 2,387 why complicate things?
import java.text.NumberFormat;
.......
static String insertCommas(int num)
{
return NumberFormat.getInstance().format(num);
} |
Forum: Java Mar 1st, 2005 |
| Replies: 10 Views: 8,018 does it find the jar file at all? |
Forum: Java Feb 19th, 2005 |
| Replies: 10 Views: 17,139 pane.getContentPane().add(Date, flo.TOP); // can be TOP, RIGHT, BOTTOM, LEFT
pane.getContentPane().add(Time, flo.BOTTOM); // can be TOP, RIGHT, BOTTOM, LEFT
Heres the java documentation for... |
Forum: Java Nov 15th, 2004 |
| Replies: 3 Views: 1,720 If its not an assignment, there are a couple of virus detection engines out there. |
Forum: Java May 2nd, 2004 |
| Replies: 1 Views: 20,118 Can you post the exact compiler problems and which compiler you are using? I am not near my copmpiler at the moment :( |
Forum: Java Apr 18th, 2004 |
| Replies: 2 Views: 4,279 in ur Compiler, go to project settings, and import the jar file. |
Forum: Java Apr 13th, 2004 |
| Replies: 2 Views: 5,363 instead of having the logos be drawn in the app. have the user draw it somewhere else and allow them to insert any image ontop of the template. |
Forum: Java Apr 11th, 2004 |
| Replies: 4 Views: 3,608 please use the code tag when posting code :cool: |
Forum: Java Apr 11th, 2004 |
| Replies: 12 Views: 4,996 thnx :) glad to here you got it working |
Forum: Java Apr 11th, 2004 |
| Replies: 12 Views: 4,996 if u get a solution post back so I can learn too :) |
Forum: Java Apr 10th, 2004 |
| Replies: 12 Views: 4,996 check how the action is processed, and make sure the html code is correctly calling the applet with all tags closed, personally i dont know why it wont intialize either, looks correct. |
Forum: Java Apr 9th, 2004 |
| Replies: 12 Views: 4,996 Something is wrong with how you use the ActionListner().
//order.addActionListener((ActionListener)this);
//food.addItemListener((ItemListener)this);... |
Forum: Java Apr 7th, 2004 |
| Replies: 12 Views: 4,996 |
Forum: Java Apr 7th, 2004 |
| Replies: 1 Views: 9,561 www.msdn.com (http://www.msdn.com) and www.sun.com (http://www.sun.com) have resources on how to achieve this, in essence the OS handles all drag and drop operations. With an image it "grabs" the... |
Forum: Java Apr 7th, 2004 |
| Replies: 1 Views: 3,310 whats the error you recieve while compiling? |
Forum: Java Apr 7th, 2004 |
| Replies: 1 Views: 3,030 you need to use the list model and not the list directly, then just have the list handle all the quieres GUI related. |
Forum: Java Apr 7th, 2004 |
| Replies: 3 Views: 3,173 If you are using breezy swing (not sure if it works on standard swing):
just use the setLocation() method with the appropraite button object.
ex
myButton.setLocation(1,1); |
Forum: Java Apr 1st, 2004 |
| Replies: 1 Views: 4,881 you can make an interface for this, or you can create accessor methods in AB and call those. |
Forum: Java Mar 27th, 2004 |
| Replies: 1 Views: 5,000 you could alwasys lower ur screen resolution so that it just looks better, make sure your laptops DPI setting is standard.
hmm ran the game, dosn't look small on my laptop (@ 1024 x 768 and 96... |
Forum: Java Mar 27th, 2004 |
| Replies: 1 Views: 7,378 compile in windows, save the class file in linux, have the linux Java JVM run the file. |
Forum: Java Mar 27th, 2004 |
| Replies: 3 Views: 4,372 //Pre conditions: MAX_LINES is an interger that "knows" the number of lines the file has
//heres a little something, its more like psedo code
...Somewhere in the method...
int randomLine =... |
Forum: Java Mar 27th, 2004 |
| Replies: 2 Views: 6,230 think of creative ways to count ;), spaces, letters etc. For example if you know u will need to format right after the colon start from there, or in your first format place special sentinals. |
Forum: Java Mar 27th, 2004 |
| Replies: 1 Views: 24,002 example source codes of round robin :cool:
... |
Forum: Java Mar 27th, 2004 |
| Replies: 2 Views: 6,944 For others who don't know what an LR Parser is:
Source: http://coleweb.dc.fi.udc.es/cole/library/abstracts/AloCabVil97a.html
and is referring to big O notation.
with that said LR parsers... |
Forum: Java Mar 27th, 2004 |
| Replies: 2 Views: 2,390 as of September 2003 Computer Science standards have switched vocabulary terms "prototypes" are now known as "signatures", "functions" are "methods" and so on ;) |
Forum: Java Mar 27th, 2004 |
| Replies: 3 Views: 9,838 In addtion to a website that is used to send SMS to cell phones, you can incoperate this into your prgram by simpily usng email. Most service providers assign email addresses to each indivdual phone... |