32,199 Topics

Member Avatar for
Member Avatar for murali2489

Hi Team, This is my first Spring Code . I just followed the code provided in the book and tried to run the class , but it throws the below error. Please throw light on it. package spring.hello; import org.springframework.beans.factory.BeanFactory; import org.springframework.beans.factory.xml.XmlBeanFactory; import org.springframework.core.io.FileSystemResource; public class Main{ public static void …

0
189
Member Avatar for Arturo32

Hi guys, I need to create a web application in my job using Java, so i started using Netbeans 7.4, and started a new project. Im trying to develop a web application that will be hosted in a server, so i selected Web Application from the Java Web folder. Is …

Member Avatar for Arturo32
0
358
Member Avatar for murali2489

Hi All, I have just completed studying Core Java and started to learn Spring Framework. I think its a silly question but still Im confused about this. Can i build a Dyanamic webpage / website using Spring Framework ?

Member Avatar for murali2489
0
96
Member Avatar for Builder_1

i have intalled jdk 7 update 51 and netbeans 7.0 .for the first time it works fine but later IDE netbeans does not start at all and dialogue box comes that JVM creation failed...kindly help

Member Avatar for Builder_1
0
227
Member Avatar for cfinhas

Hello Everyone. My application is installed on tomcat it works fine, but after 48 hours it give error below. if we restart the server everything works fine again Can anybody tell me what's wrong here with the bottom error? Thanks a lot........... [code] HTTP Status 500 - type Exception report …

Member Avatar for stultuske
0
2K
Member Avatar for kishore3055
Member Avatar for james.young.5015

if (cmd[0].equals("sz")) { if (player.isLocked() || player.getControlerManager().getControler() != null) { player.getPackets().sendGameMessage("You cannot tele anywhere from here."); return true;} { player.setNextWorldTile(new WorldTile(2667, 10396, 0)); return true;} } } } my error is closing the file. thats my problem i always get the error when i try to end the statement and …

Member Avatar for rubberman
0
128
Member Avatar for sciprog22

Hello, Thank you for the time! a) I have a Ball Object which implements the Runnable interface and traces the various positions of a ball. b) I then have a Ball_Bounce JPanel inside a JFrame which creates two instances of the Ball object and then paints them to the JPanel. …

Member Avatar for sciprog22
0
190
Member Avatar for dany12

I would like to know what means Java Web UI with html5 knowledge,flex,javascript,css? Do you have to use plain jsp jsf servlet and then use a MVC pattern? If so the views are made with html5 flex? If anyone knows more about this please explain it to me because I …

Member Avatar for stultuske
0
340
Member Avatar for ZaneDarklace

If anyone needs any help with the projects in the BluePelicanJava book. I am available to help with coding issues.

Member Avatar for stultuske
0
78
Member Avatar for ZaneDarklace

I have figured out how to do this. All that is needed is the .useDelimeter error. help? `import java.io.*;` `import java.util.*;` `public class AddEmUp `{` `public static void main(String args[]) `{` `Scanner sc = new Scanner(System.in); `System.out.print("Enter something like 8 + 33 + 1,345 - 137 : "); `String s …

Member Avatar for ZaneDarklace
0
1K
Member Avatar for munchlaxxx

So I'm trying to figure out why my get method doesn't pass its test. This is my attempt at the get method: public Value get(Object key) { //Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. for (Pair<Key,Value> …

Member Avatar for JamesCherrill
0
325
Member Avatar for cool_zephyr

could anyone please tell me what's the difference between getApplicationContext() and MyActivity.this.."MyActivity" being a class that extends Activity class..somethimes getApplicationContext() doesn't work and I need to use MyActivity.this when the constructur asks for a context... for example, if i use `ProgressDialog p=new ProgressDialog(getApplicationContext());` it gives an error however, if i …

Member Avatar for cool_zephyr
0
371
Member Avatar for murali2489

Dear All, In Java Swing, for all components there is a setSize method which takes int height and width as arguments. And we will pass parameters like 600,500 & 400,300 etc... My doubt is what is the unit of these height and width . I mean on what unit, the …

Member Avatar for murali2489
0
5K
Member Avatar for sk8ergirl

I've created new JPanel from Swing GUI form called myNewPanel and I have one button in my JFrame it called btnClickMe when the button is clicked I want the panel in the Jframe to be removed and replaced by myNewPanel I've tried my code but it not working for me …

Member Avatar for stultuske
0
101
Member Avatar for cleve23

Hi I just started learning on making gui on Java. I watched some youtube videos and i realise one of the them uses DefaultTableModel. At first i thought it was to allow access to the function of the table but i realise i can directly write and get value from …

Member Avatar for cleve23
0
240
Member Avatar for obspsalm22

I having major issues trying to make a GUI for this program. How do I connect my program to my GUI? I don't get it?Can someone help me with this? I also can't get result to read on my GUI. ![e23b489d81b74c698e1f29a66ca236f6](/attachments/large/4/e23b489d81b74c698e1f29a66ca236f6.PNG "e23b489d81b74c698e1f29a66ca236f6") /* * To change this license header, choose …

Member Avatar for cgeier
0
347
Member Avatar for hodnee

Hi, I have been trying to get my program to run for a few days now. I have gotten it almost completed I think, but keep getting "error: variable checkFee might not have been initialized" on line 37. import java.util.Scanner; // scanner class public class PROB3_CHAL15 { public static void …

Member Avatar for scudzilla
0
249
Member Avatar for ifeanyiben
Member Avatar for cool_zephyr

I'm packaging my java program as a jar..it includes mysql-connector.jar..it runs fine when i run it in eclipse..now i need to distriute the jar file..I packaged the jar file and when I run it through command line using java -jar myprogram.jar, it throws ClassNotFoundException: com.mysql.jdbc.Driver could anyone please tell me …

Member Avatar for cool_zephyr
0
347
Member Avatar for Violet_82

Hello, I need to build the following GUI ![b1ec49424775312369c320b6b57981d8](/attachments/large/2/b1ec49424775312369c320b6b57981d8.jpg "b1ec49424775312369c320b6b57981d8") and as usual I was hoping to have some advice before I start building it. In particular, I wonder if you guys think I should have any JPanel at all or if it is better to attach everything to the …

Member Avatar for Violet_82
0
708
Member Avatar for wallet123

Hello. I want to be able to create a listener for a cell in my JTable. Whenever write a number in a JTable (every key release) I want the value on the other column to decrease something like this: Quantity|Borrow 10 | 0 8 | 2 i use window builder …

Member Avatar for wallet123
0
904
Member Avatar for Doogledude123

So I just finished up a way to solve Standard Form Quadratic Equations, Now I want to code a way to automatically Convert a given Standard Form equation to Vertex Form, or Vertex to Standard. Is it possible due to the fact that you have to get a perfect square …

Member Avatar for Doogledude123
0
1K
Member Avatar for CoilFyzx

Hello good afternoon. I have successfully serialized data in the past, however it seems as if I don;t fully understand the process. I have a class called ProgramState which stores a variable (called lastCreated) with custom class LinesProject and an ArrayList variable(called recentProjects) of this custom class. The purpose of …

Member Avatar for CoilFyzx
0
384
Member Avatar for dlmagers

Needing some help with a small problem. I have this program that is not compiling correctly. The instructions are simple which are: The PairTest should prompt the user for the two values, create a Pair object with the values and then print the average, distance, maximum, and minimum of the …

Member Avatar for JamesCherrill
0
181
Member Avatar for ZaneDarklace

How do i post my codes on here? I did it once by accident and don't remember how i did it.

Member Avatar for ZaneDarklace
0
81
Member Avatar for renagadejesus

This is just a simple program that acts as a calculator for school age children. My professor requested that I add a declarations section. If possible could someone help me which parts of my code I need to add.

Member Avatar for JamesCherrill
0
291
Member Avatar for supra

I am a #rd yr. B.Tech student & want to do projects on C & Linux Shell Programming.It will be of great help if I can be supplied with some project titles for freshers with industry relevence. Thanking you, Supra

Member Avatar for stultuske
1
415
Member Avatar for troval

import java.util.*; public class n00883428 { public static void main(String[] args) { Scanner in = new Scanner(System.in); { int i; int j; int numPeople; int numCount; int upTo = 0; long memory; long startTime; long endTime; System.out.print("How many people are in the circle?"); numPeople = in.nextInt(); System.out.print("Enter number to count …

Member Avatar for troval
0
266
Member Avatar for CodeHaze

Hello, new to Java and I've been doing some coding for a few weeks. Right now I am stumped. I've been trying to make a program that would display how many days are in the month when the user inputs a month number, but it keeps saying that DaysInMonth.java:64: error: …

Member Avatar for cgeier
0
575

The End.