32,204 Topics

Member Avatar for
Member Avatar for gedas

hey, i am creating a web service but the problem is when i try to deploy that web service it gives me error below: [ICODE]init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: Building jar: D:\Documents\NetBeansProjects\EmployeeWebService\dist\EmployeeWebService.war D:\Documents\NetBeansProjects\EmployeeWebService\nbproject\build-impl.xml:684: Deployment error: Starting of server GlassFish Server 3 is not supported. Please, start the …

Member Avatar for ajithoop
0
156
Member Avatar for divinity02

it me again. I am trying to write a java multiplication one players table math game/program and I am stuck on level one. the games has sex levels. level 2 says that for each difficulty level it has to have the specified number of rounds and it should request a …

Member Avatar for JamesCherrill
0
149
Member Avatar for N S K

help me to solve this . how to compare virus signature with file to detect virus in java? whether file content or file signature is compared for virus scanning?

Member Avatar for stultuske
0
207
Member Avatar for glenak

I went to the official JAVA forum, but either those guys there have no clue how to solve this or there's no solution to it, in which case, Java applets are useless and java should stop pimping it. I have to say, this is the most frustrated I've been at …

Member Avatar for lilly13
0
1K
Member Avatar for blankspace

public void pencil1() { k1=2; setDoubleBuffered(false); cursorchange(); addMouseListener(new MouseAdapter(){ public void mousePressed(MouseEvent e){ oldX = e.getX(); oldY = e.getY(); } }); //if the mouse is pressed it sets the oldX & oldY //coordinates as the mouses x & y coordinates addMouseMotionListener(new MouseMotionAdapter(){ public void mouseDragged(MouseEvent e){ currentX = e.getX(); currentY …

Member Avatar for stultuske
0
185
Member Avatar for shaik sajida
Member Avatar for JamesCherrill
-1
54
Member Avatar for N S K

in the signature based scanning I couldn't understand how to find virus when it is in the body of the file..do i need to compare file content with virus signature for detecting virus ? if so how to compare in java? or else how can i compare file with virus …

Member Avatar for N S K
0
123
Member Avatar for cyaeger

i am very new to Java (1st semester). The assignment is to return the location of the largest element in a 2-diamensional array by using this method <public static int[] locatelargest(double[][] a). I have worked on this program for almost a week and have eliminated all but the following two …

Member Avatar for cyaeger
0
847
Member Avatar for Siegit

hallo masters, i want to ask about jasper report, i have an app that need to print out excel output in two columns,but the print out is like attachment, how to create two columns with sorting numbered?

0
53
Member Avatar for jeram.burbon

Im try to write a program but i keep getting this error here is the program program: input: 3-digit ID & birth date (3 int month, day, year) validate birth date (1900's; dont worry about leap year) last student ID: 000 output: ID & birth date for each student birth …

Member Avatar for stultuske
0
1K
Member Avatar for Atlanta15Braves

I have a program that creates a right triangle from a loop reading "*". I have used the code to complete the first part, but the second part calls for a manipulation to take the current pattern, flip it upside down, and then add it to the first pattern. Here …

Member Avatar for stultuske
0
3K
Member Avatar for blankspace

Hello, I need help with java. I need to create an application that is similar with paint but slightly different. Here is the description of this project that i need to work on. First, we need to display a menu that is consist of two choices which is 'custom animation' …

Member Avatar for blankspace
0
193
Member Avatar for Tycellent

Hey Guys, Really want to learn Java and hope you guys could recommended some Beginner, Intermediate and Expert books/resources (e.g. websites) As of this moment i'm thinking of... Beginner: Java for Dummies, Thinking in Java Intermediate: Effective Java Expert: In addition, it'd be also be awesome if any recommendations of …

Member Avatar for Tycellent
0
179
Member Avatar for henryz_box

I have a client/server setup. When both are loaded they are identical(Buttons, labels, TextFields and such). When I click a button on the client it performs an action on the server, displaying other TextFields, Labels and buttons. Now I need the same actions to be performed on all clients. What …

Member Avatar for henryz_box
0
652
Member Avatar for My_1

Okay. I have encrypt and decrypt file done. Let start at being I ask user for key and what file what they want to read or encrypt. And encrypt. For decrypt it same code. Now i have problem at let say the user enter 5 for key. How can i …

Member Avatar for JamesCherrill
0
252
Member Avatar for James_40

Not too long ago, I created a dice program in which a dice rolls twice and the sum is added as an integer. When I first created this program, I was able to use (int)Math.addExact(int, int). That no longer works; now it gives me the error "addExact(int,int)is undefined for type …

Member Avatar for stultuske
0
123
Member Avatar for Devikala

Hi All, In my project i have multiple packages. And one package can have other packages as dependencies. And each packages were having their own pom.xml which contains the dependency packages details. We have the overall parent pom.xml which will run build of all the packages. And individual package pom.xml …

Member Avatar for peter_budo
0
169
Member Avatar for KetraCoder

Hi, I'm trying to make a game, so when the NPC talks to the player, I want the text to type it self So it would be like: H He Hey Hey t Hey th Hey the Hey ther Hey there Instead of just Hey there. I've attempted to do …

Member Avatar for KetraCoder
0
229
Member Avatar for bmwwbb54

import java.util.*; public class Initials { public static void main (String [] args) { Scanner keyboard = new Scanner (System.in); String name; System.out.println("Please enter your full name including your middle name: "); name = keyboard.nextLine(); System.out.println(" "); int x = name.indexOf(' ')+1; String nameTwo = name.substring(x,name.length()); int y = nameTwo.indexOf(' …

Member Avatar for Taywin
0
2K
Member Avatar for AdanPuente

Hi! I would like to send SMS messages from Sharepoint when a server goes down. I have found this website that explains how to integrate it with this Ozeki NG SMS gateway. The software is ok when trying to connect the JDBC with my database, and this whole configuration looks …

Member Avatar for stultuske
0
253
Member Avatar for gajen007

I designed a swing interface with MySQL table. I put two comboboxes in a manner when the 1st combobox value is selected (Brand Name), the second combobox values (available items under thise selected brand) will be loaded via a mysql query. My code is... try{ String url = "jdbc:mysql://localhost:3306/databasename"; String …

Member Avatar for stultuske
0
984
Member Avatar for kroken

Hi i didnt find anything about this here on the forum and i cant figure out how to do it myselfe either. i have a homepage runing java with servlets and jsp pages and i want a simple contactform that sends a message from the form to a specific mail. …

Member Avatar for harpreetfervaha
0
2K
Member Avatar for 2384443

Hi everyone, i need your help, i've used a panel and i've a label(which acts as a background image).. There's a long text which is placed in a label. now i want to view this text and the background image but in this attempt i cant see any scrollbars even …

Member Avatar for juanpa_2510
0
232
Member Avatar for anand01

Hi all , Good Day! I am having confusion in storing null values in hashmap and passing null in println method. 1) When I add null value in hash map directly it will not allow at the same time when I assign a null value in to string and add …

Member Avatar for Taywin
0
309
Member Avatar for bmwwbb54

Write a program that fills a one-dimensional array with 10 random integers between 1 and 25. The program should perform the following tasks: 1. Print the contents of the array horizontally. 2. Print the sum of the contents of the array. 3. Print the maximum number in the array. 4. …

Member Avatar for bmwwbb54
-1
183
Member Avatar for Search_not

I'm making an instant messenger program and I want to allow clients to connect to each other privately(peer-to-peer) using their IP addresses. The only method I know at the moment is a client/server method where the server needs to be online for the client to work. How do I allow …

Member Avatar for Search_not
0
265
Member Avatar for Pinkkat

Hi! I'm having trouble to figure out what is wrong with my program. I would appreciate if you could help me. About the classes and their requirements to consider: a.Create an Account class, which is the base class for all accounts that has public methods to get and set the …

Member Avatar for stultuske
0
5K
Member Avatar for N S K

how to compare file contents with virus signature ? i have to scan files for virus detction so i need it please help me.

Member Avatar for stultuske
0
69
Member Avatar for N S K

how to get the file signature in java? for example a pdf file has signature 25 50 44 46 ..how to get it using java?

Member Avatar for N S K
0
3K
Member Avatar for Garidius

Hello to all in forum, Maybe some java expert could help me. How can I read chunks from binary file each chunk at a time? The chunks are separated with the bytes D2 followed by A7 and of variable length. This is whenever D2A7 is found, this is the End/Beginning …

Member Avatar for Garidius
0
2K

The End.