Search Results

Showing results 1 to 15 of 15
Search took 0.01 seconds.
Search: Posts Made By: sciwizeh ; Forum: Java and child forums
Forum: Java 11 Days Ago
Replies: 3
Views: 245
Posted By sciwizeh
Hello all,
As you may know by now, from my previous posts recently, I am working on a Paint application. My question, then, surprisingly does not involve Graphics or Swing.

So my question...
Forum: Java Sep 8th, 2008
Replies: 2
Views: 434
Posted By sciwizeh
this is confusing, I wrote this a while ago, and it didn't work right, I am almost sure that it is a simple small error somewhere that I am just missing. when i wrote it I didn't think that it would...
Forum: Java Aug 27th, 2008
Replies: 8
Views: 1,265
Posted By sciwizeh
1. what errors do you actually get?
2. ALL class names should begin with a capital
3. you never actually initialize your handlers operatorHandler operation = new operatorHandler();
Forum: Java Aug 23rd, 2008
Replies: 3
Views: 1,221
Posted By sciwizeh
well, 1 please use code tags.
2 why don't you use the modulo '%' operator.
int cents=197;
int dollars = cents/100;//shows dollars
int temp = cents%100;//gets cents left over
int halfs =...
Forum: Java Aug 23rd, 2008
Replies: 14
Views: 2,999
Posted By sciwizeh
ok, I wrote these two classes CustomPane is the one that has the rotateImage() method.

//CustomPane.java
import javax.swing.* ;
import java.awt.* ;
import java.awt.image.* ;

public class...
Forum: Java Aug 19th, 2008
Replies: 4
Views: 3,128
Posted By sciwizeh
why do you want to?
Forum: Java Aug 17th, 2008
Replies: 6
Views: 623
Posted By sciwizeh
uh, JFileChooser (http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html)
Forum: Java Aug 11th, 2008
Replies: 5
Views: 1,215
Posted By sciwizeh
i don't know whether this will work, but try setting using .setFocusable(false) on the buttons. i don't think it will work, but it's worth a try

EDIT: it may ruin the way that you use the...
Forum: Java Aug 5th, 2008
Replies: 6
Views: 1,205
Posted By sciwizeh
hi again... here is something that may help:
expression = term && (plusterm || minusterm)*
plusterm = '+' && term
minusterm = '-' && term
term = factor && (timesfactor || dividefactor)*...
Forum: Java Aug 4th, 2008
Replies: 17
Views: 1,120
Posted By sciwizeh
well you could write a method that clears everything and chooses a new word
Forum: Java Aug 1st, 2008
Replies: 9
Views: 1,854
Posted By sciwizeh
not very, you do need the class files in the jar, you don't need the name of the jar file at compile time. that last code should work fine except that you need the class files in the jar too, and...
Forum: Java Jul 30th, 2008
Replies: 11
Views: 939
Posted By sciwizeh
ok, so i've been working on this project for a long time now, a falling sand game, on and off. it works almost the way i want it too... 2 problems, one i don't think this community will be able to...
Forum: Java Jul 14th, 2008
Replies: 10
Views: 1,102
Posted By sciwizeh
ok:6612
it's not perfect, and doesn't take into account orientation, but it illustrates my idea:

public void paint(Graphics g){
Graphics2D g2 = (Graphics2D) g;
...
Forum: Java Jul 13th, 2008
Replies: 9
Views: 959
Posted By sciwizeh
i don't think that installing a new ide is what viber had in mind
Forum: Java Jul 10th, 2008
Replies: 22
Views: 1,627
Posted By sciwizeh
1.5? i have 1.6 and all of the sun tutorials work fine for me, i believe that Sun keeps the JDK's backwards compatible, although you may get warnings of depreciations or "unsafe operations", usually...
Showing results 1 to 15 of 15

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC