32,199 Topics

Member Avatar for
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
841
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
648
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
308
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
Member Avatar for salahuddin_1
Member Avatar for JamesCherrill
0
46
Member Avatar for UK-1991

Hello guyz Just written a small code trying to make a scenario in which I get a name from user and see that the provided name is present in my array list if it is then it displays name found if not present in array it simply says name not …

Member Avatar for JamesCherrill
0
106
Member Avatar for shungkiu.lee

hello guys, well basically i have zero java knowledge, so don't mind me asking such kind of dumbass question( to you but not to me lol) so, i have a .txt file in which there is a number in such line (for example, 0 and 1) i want to print …

Member Avatar for JamesCherrill
0
183
Member Avatar for divinity02

hi all how do you build a java game called a multiple maths game. can anyone give me any advice, now I say advice to at least guide me in the right direction. I have to build a multiple maths game in java with levels, easy meduim and difficult. how …

Member Avatar for JamesCherrill
0
294
Member Avatar for rhydham1

import java.util.Scanner; public class ConvertDate `{` Scanner console = new Scanner(System.in); public static void main(String[] args) { // Inputs the month, day, and year ConvertDate.prompt("Enter date to be converted: "); String date = ConvertDate.readLine(); // Trims the extra spaces String dte = date.trim(); // Creates the minimum space between the …

Member Avatar for stultuske
0
90

The End.