32,199 Topics
| |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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' … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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(' … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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. … | |
| 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 … |
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 … | |
how to compare file contents with virus signature ? i have to scan files for virus detction so i need it please help me. | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.