| Thread | Last Post | Replies |
|
| FilenameFilter optimization | 14 May 2004 04:43 GMT | 1 |
Is there a better way of doing this, or a way of optimizing for speed? I just want to check that File objects are directories. Am not sure whether I really need to create a new File object in the process as it seems a bit "expensive".
|
| [newbie] need help with a board game | 14 May 2004 03:11 GMT | 2 |
I'm trying to program a bord game (monopoly like). The game logic isn't really a problem and is going well. My problem is display : what is the best strategy to display the board itself and player tokens ?
|
| Passing a value from one method to another | 14 May 2004 01:00 GMT | 4 |
What would be the syntax for passing a variable value from one method to another?..say I had this, and I know this isnt right .. still working it out but..I want to get the value of n in getEasterSundayDay and pass it to getEasterSundayMonth..how do I do that?...thanks
|
| Is there a java equivlant as VB Lset function? | 13 May 2004 21:48 GMT | 2 |
Hi, all, What I need to do is to convert the following VB code to java. In the VB code, the code converts the data obtained from the database into a user-defined type (UDT) structure, copies that UDT to another UDT
|
| help: System.out.println() when assertions are on | 13 May 2004 20:34 GMT | 6 |
i've come across the idea of using assertions with System.out.println(), but can't get the syntax working. think it was in head start java, or a similar book. something like:
|
| What is this error? | 13 May 2004 18:51 GMT | 6 |
We've been working on this program for the past week as a project in our Computer Programming class, and this has the teacher stumped. Here are the file links: http://leaf.iconrate.net/POSTrivia.java
|
| newbie ? - choose java over asp? | 13 May 2004 18:07 GMT | 3 |
after many years of working as mostly an asp developer, i finally decided it was time to try to pick up java. i've gotten about 1/4 into my 'intro to ...' book, figuring out the basics of things like applet. as an asp developer, i kept looking for the 'magical abilities' that java ...
|
| Problem displaying JPanels | 13 May 2004 16:48 GMT | 2 |
Hi Im trying to display JPanels which are nested inside other panels (which have borders via BorderFactory), which are nested inside a scrollpane, which is nested inside a JTabbedPane, inside another panel yada yada.
|
| overlapping components/images | 13 May 2004 12:24 GMT | 1 |
I'm trying to write a very basic card game. I want to display the person's hand with cards that overlap each other (as if you are fanning your cards). Then, i want to set it up so that if i click on a card if will either register an action event or somehow figure out
|
| Starting a Java Process with a new name | 13 May 2004 06:48 GMT | 2 |
I'm using the exec method to run a Java program. I'd like the program to use a different process name than "java" (like tomcat, which, while Java, runs under a process called "tomcat"). Any thoughts? Below is the current code we use.
|
| IncompatibleClassChangeError | 12 May 2004 19:32 GMT | 2 |
I have written a class that extends JFrame, and when I try to cast it as a JFrame in a call to JFileChooser.showOpenDialog, I get the above exception before it gets to the method making the call. Shouldn't I be able to
|
| Running a java game (mobile phone game) on a PC? | 12 May 2004 18:20 GMT | 3 |
Is there a way to run mobile phone games on a PC? Perhaps using a Java program/emulator or something? Thanks.
|
| how to find out which day of the week using Calendar class | 12 May 2004 15:52 GMT | 2 |
I have a problem, I am not able to find out which day of the week it is using the calendar class. I am using set() function to set the date and want to find out which day i.e mon,tue etc of the week it is .
|
| JSP Input Validation - URGENT PLEASE HELP! | 12 May 2004 14:14 GMT | 5 |
I am trying to implement a front page to my jsp program, which asks for an ID and password to be entered and to check if it is valid before carrying on... the first code I have tried to use brings up an error, the code is
|
| What is the best implementation for graph networks (edges+nodes+weights) ?? | 12 May 2004 09:59 GMT | 5 |
Ok, I could image hundreds of different implementations of a graph network. According to computer science graph theory a network consists of a variable number of nodes and edges from one node to some (but not necessaryily all) other nodes with a given weight. Before I re-invent the ...
|