Published News


38 Votes Vote

reduce my JTextField's height in gridlayout

Posted by External 3 hours ago General
http://www.daniweb.com — I was trying to reduce my jtextfield height, since it is for user to enter first name. somehow when i run the code, the box is just too big, is there anyway to change the textfield height? i tried with setPrefferedSize but somehow it showing error, mayb i put it ... Read More
Discuss Bury
Tags: reduce jtextfields height gridlayout All
41 Votes Vote

Chess in java

Posted by External 1 day 3 hours ago General
http://www.daniweb.com — package newsatranc; import java.awt.BorderLayout; import java.awt.Color; import java.awt.ComponentOrientation; import java.awt.Cursor; import java.awt.GridLayout; import java.awt.event.InputEvent; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.InputStream; import java.util.Map; import java.util.TreeMap; import javax.imageio.ImageIO; import javax.swing.ImageIcon; i Read More
Discuss Bury
Tags: chess java All
33 Votes Vote

how to design awebsite

36 Votes Vote

How to Update Netbeans JDK

Posted by External 2 days ago General
http://www.daniweb.com — Hy all, I wan't to ask, how to update jdk in netbeans..?? i have netbeans 7.0.1 and jdk 1.6 in the netbeans but i want to update it to jdk 1.7 help me... Read More
Discuss Bury
Tags: how update netbeans jdk All
42 Votes Vote

Delete method in AddressBook.java

Posted by External 2 days ago General
http://www.daniweb.com — /* * @author JDickerson * Created on 4 Aug 2008 */ package com.jjpeople.addressbook.gui; import com.jjpeople.addressbook.lineformatter.LineFormatter; import com.jjpeople.serviceworker.gui.GuiException; /** * This application uses a Service to Worker pattern which is located in the * package: com.jjpeople.serviceworker * * This interface models the Gui. * * @author JDickerson * Created on ... Read More
Discuss Bury
Tags: delete method addressbookjava All
32 Votes Vote

Java ArrayList expected error from command line

Posted by External 2 days ago General
http://www.daniweb.com — Hi, I've written the below code as part of a University assignment, it compiled ok in Eclipse but returns the ` expected` error when compiling via the command line. The error appears on lines 7, 8, 12, 13 and 20. Could anyone shed any light on why i'm getting it ... Read More
Discuss Bury
Tags: java arraylist expected error command line All
39 Votes Vote

need help with MouseListener !!!

Posted by External 2 days ago General
http://www.daniweb.com — Hello ,,, am having trouble while making a drag and drop label i wrote a code i'v seen on youtube , but after compiling i had punsh of Exception and i don't know why !! can any one help me writing a drag and drop code , i'll post the ... Read More
Discuss Bury
Tags: need mouselistener All
30 Votes Vote

How to access variable in one method from another

Posted by External 2 days ago General
http://www.daniweb.com — The title might sound confusing, so here is what I want to do: I am currently working on a school project, and I have to make a rock, paper, scissors game. I am almost done and only need one more thing. I have two methods (bigWinner and finalResult) In method ... Read More
Discuss Bury
Tags: how access variable method another All