32,204 Topics

Member Avatar for
Member Avatar for Doogledude123

So this is the first time using a Spring Layout and I gotta say, it honestly seems like a very nice Layout to use, but I can't quite seem to get it working the way I want it to. Let me explain: I have a JList which should be inset …

Member Avatar for JamesCherrill
0
301
Member Avatar for Doogledude123

I need a boolean to be stored with a String (or possibly a Path, not sure which one I want to use yet). I thought about using a Map, so I did some looking around and found out that LinkedHashMaps are the only type of Map that stay in Order …

Member Avatar for Slavi
0
301
Member Avatar for Mr.M

Hi Dw. I have a question of how can one detect a program attempting execute/run and also most importantly how to allow/deny programs to execute/run. I'm sure we all have came across with UAC where it ask you to allow or deny that program from running, normally this for elevating …

Member Avatar for Mr.M
0
108
Member Avatar for ilovearsenal

i copied eclipse and its files of code into a new comp. i installed the latest version of java and went into eclipse. i ran the porgram and the code that worked just fine on my previous computer compiled but the applet was blank and it said "start: applet not …

Member Avatar for stultuske
0
139
Member Avatar for Catarino

public class Test { public static int f1( int m1 ) { return ( m1 + 1 ); } public static double f1( double m1 ) { return ( m1 * m1 ); } public static void main( String[] arg ) { double x1, x3; x1 = 2.0; x2 = …

Member Avatar for rubberman
0
161
Member Avatar for Sayam_1

I am little confused about @Repository in spring.does it define any class? suppose i've done @Repository("TryDao").. does it want to say class TryDao,i.e TryDao.java ??plz clear my confuse..

Member Avatar for JamesCherrill
0
71
Member Avatar for hermela_1

this is a code for an input window that takes in data from users i tried to save whatever data the user put in in axml file but it is giving me errors...what is wrong with it...help /* * To change this license header, choose License Headers in Project Properties. …

Member Avatar for stultuske
0
1K
Member Avatar for Kert

I have followed all the tutorials, but still I have a problem that I can't get an object from a form to the controller using Spring MVC. What might be the case? I am using Thymeleaf to format my jsp pages. <!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Getting Started: Handing Form …

0
319
Member Avatar for Saboor880

Hello to all! I have learnt VB.net and used IDE Visual studio 2012. Know I have started learning java. But I have a confusion that can Java be used with .NET frame Work? If Yes then which IDE is required for this. As we know that for VB.Net, C#.Net and …

Member Avatar for JamesCherrill
0
280
Member Avatar for Kert

I have followed all the tutorials, but still I have a problem that I can't get an object from a form to the controller using Spring MVC. What might be the case? I am using Thymeleaf to format my jsp pages. <!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Getting Started: Handing Form …

Member Avatar for stultuske
0
1K
Member Avatar for malik.epperson

I am creating a couponing app where coupons are stored in a database and compared to local ads to let users know when to use the coupons. I have created a database that holds all of the coupons and also one for the user's personal library. I am having difficulty …

0
168
Member Avatar for Mr.UNOwen

Hello, For some reason javac errors when I import any of the Apache-Spark classes. I've gone through a number of setup guides to see if there's some environment variable I'm missing, but most don't have a step where an environment variable is set. Anyone have a clue what I'm missing? …

Member Avatar for Mr.UNOwen
0
2K
Member Avatar for VigneshCIyer

Hi, I have to print the following pattern and I am having difficulty in figuring out how exactly should the looping work. The Following is the Pattern that I need * * * * * * * * * * * * * * * * * * * * …

Member Avatar for JamesCherrill
0
99
Member Avatar for jamesjohnson25

import java.util.*; class occult { public static void main(String[] args){ int n = 2; for (int i = 0; ; i++){ if(Integer.toString(i).contains("666")){ if ( n == 1 ) System.out.println(i); n -= 1; } } } } I have written the above java code into c++ . i wanted to know …

Member Avatar for vijayan121
0
516
Member Avatar for hermela_1

i have a jtable calendar program and i want the user to be able to click on the dates and i wrote a mouse listener and added it to the jtable nut its not firing .....what should i do my deadline is tomorrow....

Member Avatar for JamesCherrill
0
958
Member Avatar for Tala_22

i need to write a problem to store a information(Name,ID,GPA) about 10 students and print max gpa , min gpa by using array list

Member Avatar for JamesCherrill
0
42
Member Avatar for sirlink99

Hello Everyone, I am experiencing errors when trying to compile a project in Java 8. The errors are caused by swing components. The code I am using is the following: import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; public class Main2 { public Main2(){ JFrame f = new JFrame (); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); f.setSize(100, …

Member Avatar for JamesCherrill
0
1K
Member Avatar for sclansing68

Write a Javaâ„¢ application using NetBeansâ„¢ Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Consider the following factors: A salesperson will earn a fixed salary of 60,000 dollars. A salesperson will also receive a commission as a sales incentive. Commission is a percentage of the …

Member Avatar for JamesCherrill
0
270
Member Avatar for shailamureed

Hi i have an assigment that is giving me a hard time . I want to make a media player in java by using netbeans Can anyone give me an efficient way to do this assigment. please help me shoaib in java [Click Here](http://www.daniweb.com/software-development/java/9/contribute)

Member Avatar for JamesCherrill
0
387
Member Avatar for Nandomo

Is it possible to OCR an image using java? Any links to logic or examples or APIs would be appreciated.

Member Avatar for jwenting
0
101
Member Avatar for munish_pdf

I need to crearte pdf file from database table using java with multiple rows and column format design .

Member Avatar for jwenting
0
64
Member Avatar for nataraja833

Hi , Can anyone point me to fillPolygon source code , In Graphics.java it is declared as abstract class . - Nataraja G

Member Avatar for nataraja833
0
1K
Member Avatar for divinity02

hi everyone system.out.println("thank you all for the birthday greeting!!!!!!!!! much appreciated.) hi james it has been quite a while. sorry that I had upset u the last time I was here. I am trying to build a payroll system for a community college in java. and the calculation is off. …

Member Avatar for rproffitt
0
158
Member Avatar for laguardian

Hello guys, I'm trying to add an object called product into an ArrayList of orders. I'm getting an error: no suitable method found for add(Product). Did I miss anything? This is my addOrder method: public void addOrder(ArrayList<Order> orders, Product product){ orders.add(product); } I've passed the ArrayList of orders and the …

Member Avatar for JamesCherrill
0
476
Member Avatar for danielley

Square A square is a specific two-dimensional shape. Square should be implemented as a subclass of TwoDimensionalShape, a concrete class. A square has equal sides in both dimensions. This is how to create a square: public Square( int x, int y, int side ) /* use super constructor to set …

Member Avatar for JamesCherrill
0
157
Member Avatar for Bobbiegirl

Could someone please look at my ose and let me know where I may be going wrong. The problem to solve is define a class Odometer that will be used to track fueland mileage for an automobile. The class should have member variables to track the miles driven and the …

Member Avatar for JamesCherrill
0
902
Member Avatar for laguardian

Hello guys! I'm trying to call a method in main called "buyProduct" which displays all products to the user. I' a getting a NullPointerException though. Here's what I have: public static void main(String[] args) { OnlineShopping shop = new OnlineShopping(); ArrayList<Cart> carts = new ArrayList<Cart>(); ArrayList<Order> orders = new ArrayList<Order>(); …

Member Avatar for laguardian
0
370
Member Avatar for Sayam_1

i did a simple interface programme where one interface extends two interface.so,no error is showing,but no output is showing..here is the code.. interface a { int add(int x,int y); } interface b { int mul(int x,int y); } interface c extends a,b { int div(int x,int y); } class d …

Member Avatar for Sayam_1
0
94
Member Avatar for vivekH

I have a arraylist which i want to store in database.I am using preparedStatement so how can i pass my arraylist as parameter to store it in database. my code is: public void insertEnquiryRecord(StudentEnquiryEntity enquiryEntity) { // TODO Auto-generated method stub System.out.println(" hi from vivek.."); ConnectionFactory connectionFactory = null; connection=connectionFactory.getConnection(); …

Member Avatar for jwenting
0
229
Member Avatar for nataraja833

Hello , When we do an XOR operation between two rectangles ( one is completly inside of the other ) output in GPC & Clipper is something like , exterior Rectangle + a Hole ( which is interior Rectangle ) for my application output has to be a set of …

0
78

The End.