32,204 Topics
| |
So I have a phpbb forum (where I'm the admin) and what I would like to do is to write a simple program that logs in into the Admin Control Page (ACP), navigates to the maintence section (where a backup of the database is located) and then download a backup … | |
I thought that setting up the PATH variable was a must if we wanted to use java or javac commands on linux (preferably in the bashrc file), but I am able to use these commands anywhere without setting up the PATH variable.. Similarly, without specifying '.' in the CLASSPATH variable … | |
I am writing a program with java and i am having trouble displaying my .txt in my JTextArea. it shows it as 1 appended line and i want it to display the way it is set out in my text file. Here is my code: import java.awt.*; import java.awt.event.*; import … | |
Hello! I want the java code for login+registration form using swing along with mysql connectivity. i do not want jsp or java script coding. just simple java code. please revert as soon as possible! | |
Hi all, This *is* a Java question, despite the set up looking long! I am writing a program that involves constructing and using the inverse of a large correlation matrix many times. Suppose you have a data matrix X with d columns representing d variables and n rows representing the … | |
Here is the code for extract RGb values from a single image.... and now i need to read set of images from a folder , can anyone pls give me idea for that since im very new to java ,,thanks in advance :) [code] import java.io.*; import java.awt.*; import javax.imageio.ImageIO; … | |
What are the major ways one can use to make a system robust for national use?! Thanks in advance. | |
am new in java and am rtying to code a program for lotto punters which generate as many numbers of 6 as the user request | |
Can someone recommend JAVA books specifically containing sections devoted to JAVA Sound API and general sound modifications? | |
Hi, i get an NullPointerException in this line:if (let==currentLink.aLetter) in search method. This is node class public class Letter { char aLetter; int points; Letter next; public Letter(char aLetter,int points) { this.aLetter=aLetter; this.points=points; } public Letter() { } public String printLink() { // System.out.print("{" + aLetter + ", " + … | |
Hi guys, i m new for ths java progrmming.Please me the diff between array and arraylist. Both are dynamically allocated values.any added mechansims in the arraylist. Please let me asap. Regards, Pradeep | |
There are many ways to read properties file in java. Here explained two wayS, using 1. ResourceBundle 2. Properties Class How to use this tutorial 1. Create one directory src and put both below files (MyProp.properties and ReadPropFile.java) 2. MyProp.properties name = Binod Kumar Suman roll = 110 city = … | |
My goal is to create a clone of minesweeper. I've created a custon component that extends the JButton class, for each of the minesweeper buttons. I've called this new class SweeperButton. the game board is going to be made in another class by creating a two deminsional array of SweeperButtons, … | |
Hey, iv been working on a fairly simple part of my program but it throws a null pointer exception. The error i recieve is : Exception in thread "main" java.lang.NullPointerException at FillStyle.<init>(FillStyle.java:12) at compiler.main(Builder.java:43 The code causing the error is : public FillStyle(int type) { if (type >= 0) { … | |
Main.java [CODE] package scrabble; import javax.swing.JOptionPane; import javax.swing.JDialog; public class Main { public static boolean isDoubloon (String word) { int count[] = LetterHist.letterHist (word); for (int i = 0; i < count.length; i++) if (count[i] == 2 || count[i] == 0) continue; else return false; return true; } public static … | |
Hello, I have my database application containing all the customer information. The application is linked to my SQL using jdbc driver. I would like to know if it is possible to send email automatically every months(like a newsletter) with netbeans? If yes, how can I do it? Thank you. | |
I have been trying to setup swt in eclipse Juno, but it keeps on giving me errors. Here is the error list: Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: no swt-win32-4233 in java.library.path no swt-win32 in java.library.path Can't load library: C:\Users\DeoFamily\.swt\lib\win32\x86_64\swt-win32-4233.dll Can't load library: C:\Users\DeoFamily\.swt\lib\win32\x86_64\swt-win32.dll at … | |
hi guys, i need help on algorithm to combine letters from a word. for example, i have this word: 'ABCD' . then i want to combine 3 letters from that word. so it comes to these combination: 1- ABC 2- ABD 3- ACD 4- BCD how is the algorithm in … | |
Hi everyone, This October I will start university study (Open University in UK). I’m 35 and work full time (non-scientific, non-IT background). I plan to study to become a software developer in Java (that’s the language the Uni uses; they also have one course in VB.net) I’m not convinced yet … | |
hi guide me, how to set enviroinment variable setting and path settings for jdbc and servlets. "I want to compile jdbc, servlet programmes from command line" i am using windows vista. | |
Please people i was given a project in school to write an application that can serve as a reminder in Java ... is there any one that can help me out on this???? please i need help | |
here i've created the first applet but it is not working, [CODE] import java.applet.Applet; import java.awt.*; public class FirstApplet extends Applet { public void paint(Graphics g) { g.drawString("Look at me, I'm a Java Applet!",10,50); } } [/CODE] i am getting no errors but when i am opening the html file … | |
I read that every class extends a object class by default. then it should cause multiple inheritence and must not be supported by Java. Please help me about this.... | |
Hi all, i want to wite an method that can take a String and return boolean , it should return True if the first character of string is an uppercase . Can not using String Apis ? so how can i do ? thank ! | |
hi, I am very naive to java. my project is in data mining where i have to implement k means clustering. the task is like this 1.reads a csv file and stores the attributes in a matrix format 2.clusters the matrix data depending on the euclidean distance measure. 3. the … | |
Hi, I am developing a website that allows users to be able to navigate the website by only clicking on a soft switch. All links are rotated through an array when a link is highlighted and the user clicks the link it is selected. I need to be able to … | |
import java.util.Arrays; public class binary_search { public static void main(String[] args) { int ar1[] = new int[128]; int p, key=78; p=Arrays.binarySearch(ar1, key); System.out.println("element found at index "+p); Arrays.sort(ar1); p=Arrays.binarySearch(ar1, key); long start = System.currentTimeMillis(); Long elapsed = System.currentTimeMillis() - start System.out.println("Time to do stuff (in milliseconds): " + elapsed ); … | |
I have a JTextArea that I need to be able to print off from the printer. This is the kid of text that is in the JTextArea GLEN ROGERS 47 PINE AVENUE, CARRICKFERGUS, BT38 8EE, 07824771114 733KIA 2012/07/03 DEVICE; OTHER - GIVE MAKE AND MODEL PACKARD BELL EASYNOTE TN? WINDOWS … | |
I need to open two pdf files as popup window on click ona button in asp.net C#,but now its opening only the first popup?Can anybody help me ,to open the both windows at the same time? This is my code: string PDFPath = folderpath + filename; string PopupName = "popUp"; … | |
In PHP using isset() function for checking the form value is set or not? Like wise which methed is used in java? Any one can help ASAP..? |
The End.