Forum: Java 1 Day Ago |
| Replies: 1 Views: 95 Please read the rules and you you would know that [code] tags are expected be used by any member, plus you would know that you are supposed to provide proper problem description.
Your problem is... |
Forum: Java 1 Day Ago |
| Replies: 9 Views: 226 Nope, wasn't him and nobody hijacked his account. You know there is more then one moderator/administrator around ;) |
Forum: Java 2 Days Ago |
| Replies: 9 Views: 226 For the record, it wasn't jbennet |
Forum: Java 2 Days Ago |
| Replies: 1 Views: 137 actionPerformed is what you need. If you not getting date it will be down to the fact that you have somewhere a problem. However without any additional code we will not be able to help |
Forum: Java 2 Days Ago |
| Replies: 20 Views: 13,324 Use your imagination and sourceforge.net |
Forum: Java 4 Days Ago |
| Replies: 2 Views: 139 You can install them they will not harm you, but if you do not want them you can leave it out. |
Forum: Java 5 Days Ago |
| Replies: 5 Views: 366 So why don't you post what you got... |
Forum: Java 6 Days Ago |
| Replies: 9 Views: 349 You misunderstand concept in the tutorial that I linked. This should be out too
public myguidemo(){ //constructor
try{
//driver and connection
... |
Forum: Java 7 Days Ago |
| Replies: 9 Views: 349 You should put it in separated class. Have look for example at this JSP tutorial (http://www.daniweb.com/forums/thread141776.html) which shows databases connectivity from web application. However the... |
Forum: Java 8 Days Ago |
| Replies: 5 Views: 217 This works for me
public class Question5{
public static void main (String args[])
{
double n = 20;
int counter= 0;
for (int t =0; t<=25; t++) |
Forum: Java 8 Days Ago |
| Replies: 5 Views: 217 Extra character ">" somehow slipped in the wrong place. The line should be
n= (220/(1+10*Math.pow(0.83,t))); |
Forum: Java 8 Days Ago |
| Replies: 3 Views: 274 Read this (http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/synth.html) on Synth Look and Feel.
Anyway masijade is correct it is complex task, not just simple replacement of graphics as... |
Forum: Java 8 Days Ago |
| Replies: 9 Views: 349 What is necessary is for you to provide exact errors you getting from SQLException so you better catch that exception and print stack. Also your current program arrangement is very bad. You should... |
Forum: Java 8 Days Ago |
| Replies: 1 Views: 177 Check this discussion (http://stackoverflow.com/questions/589732/what-is-best-practice-for-serializing-java-enums-to-xml), it has some interesting suggestions |
Forum: Java 8 Days Ago |
| Replies: 2 Views: 293 As your other posts shows you have low level of Java background so such underestimation of Java from you is no big surprise.
Java or C#? and why? It is one of never ending battles and it is... |
Forum: Java 8 Days Ago |
| Replies: 5 Views: 272 You see, right now you are working on Windows platform and want to make your application easier to launch, so you want to convert them to exe so with double click you can launch them. However double... |
Forum: Java 8 Days Ago |
| Replies: 7 Views: 271 It is bad that you do not know what is API.
API or Application Programming Interface (http://java.sun.com/javase/6/docs/api/) is something you should be using often when you learn... |
Forum: Java 8 Days Ago |
| Replies: 5 Views: 272 Generally to do such thing is bad idea, you may want to read more on it here Convert Java to EXE (http://www.excelsior-usa.com/articles/java-to-exe.html). Article also provides some links to... |
Forum: Java 8 Days Ago |
| Replies: 5 Views: 366 You did not paid attention in class when your lecturer explained how to create and use your own objects.
public class Movie{
private int rank;
private String title;
public... |
Forum: Java 10 Days Ago |
| Replies: 15 Views: 655 Similar example here (http://www.daniweb.com/forums/post961890.html#post961890), you need to just adapt to your needs |
Forum: Java 10 Days Ago |
| Replies: 15 Views: 655 For the Product class you need some constructor method and some getter and setter methods.
As for the logic of finding most expensive item use what ever you most comfortable... |
Forum: Java 10 Days Ago |
| Replies: 15 Views: 655 Hint
Create class Product that is able to store following data
Enter product id
Enter product name
Enter product price
Make the Product class available to your application.
Use a Collection... |
Forum: Java 11 Days Ago |
| Replies: 2 Views: 168 |
Forum: Java 12 Days Ago |
| Replies: 1 Views: 198 sourceforge.net plenty ideas to go through |
Forum: Java 13 Days Ago |
| Replies: 1 Views: 149 There must be reason why that error is thrown.
Please post relevant code and do not forget include stack trace of error |
Forum: Java 14 Days Ago |
| Replies: 1 Views: 189 Google => open office database java connection... |
Forum: Java 14 Days Ago |
| Replies: 5 Views: 320 iPhone is not Java enbaled device so you cannot use JSE or JME.
You can do development with objective-C however SDK require Mac OS (therefore you need Apple Mac) and the cracked version used by so... |
Forum: Java 15 Days Ago |
| Replies: 9 Views: 286 What installation of java you are using? and what operating system? |
Forum: Java 15 Days Ago |
| Replies: 3 Views: 226 |
Forum: Java 16 Days Ago |
| Replies: 1 Views: 167 Google => java network file access (http://www.google.co.uk/#hl=en&source=hp&q=java+network+file+access&btnG=Google+Search&meta=&aq=1&oq=java+network+file&fp=30376c673d384194) |
Forum: Java 16 Days Ago |
| Replies: 3 Views: 226 //Table declaration somewhere in the text
JTable myTable = null;
showTableBtn.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent ae){
//use any of the 7... |
Forum: Java 16 Days Ago |
| Replies: 1 Views: 190 Frame is your main building block. Have "main" JPanel with pablic method through which you can pass another JPanel for display in the frame. On the button press you just call/invoke new JPanel with... |
Forum: Java 16 Days Ago |
| Replies: 9 Views: 286 You must have some background otherwise this wouldn't be assigned to you. And everyone has lots of things to do beside helping somebody who is not willing to cooperate and just looking forward to... |
Forum: Java 16 Days Ago |
| Replies: 9 Views: 286 Forum rule is We only give homework help to those who show effort (http://www.daniweb.com/forums/announcement9-2.html).
What is the best way to learn? By practicing and making mistakes from which... |
Forum: Java 18 Days Ago |
| Replies: 10 Views: 12,015 Closing thread, no need for another bump from student with no ideas/imagination on project topic... |
Forum: Java 22 Days Ago |
| Replies: 5 Views: 405 Why do you want to build Sphinx from source instead of using provided JAR file? Including external libraries in project is what you should do... |
Forum: Java 24 Days Ago |
| Replies: 2 Views: 332 JFileChooser beside having showOpenDialog(Component parent) for selecting files to open/be processed has also showSaveDialog(Component parent) ... |
Forum: Java 25 Days Ago |
| Replies: 7 Views: 986 So on the end you went with my original suggestion :D |
Forum: Java 25 Days Ago |
| Replies: 7 Views: 986 You better post your issue in new thread instead of trying to bargaining in style "give me what you have, maybe I will give you what I have.." |
Forum: Java 25 Days Ago |
| Replies: 1 Views: 192 It was discussed so many times that if you search forum you would get numerous results...
For the sake of you not being flamed here is link... |