32,204 Topics

Member Avatar for
Member Avatar for Traps

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 …

Member Avatar for Majestics
0
125
Member Avatar for daudiam

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 …

Member Avatar for odubanjo.ismail
0
182
Member Avatar for SakuraAssassin

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 …

Member Avatar for SakuraAssassin
0
124
Member Avatar for nixeria

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!

0
53
Member Avatar for DannyW

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 …

Member Avatar for DannyW
0
721
Member Avatar for venus87

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; …

Member Avatar for 9894443485
0
8K
Member Avatar for slim.helu.92

What are the major ways one can use to make a system robust for national use?! Thanks in advance.

0
48
Member Avatar for xostman

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

Member Avatar for stultuske
0
228
Member Avatar for Nishaant

Can someone recommend JAVA books specifically containing sections devoted to JAVA Sound API and general sound modifications?

Member Avatar for stultuske
0
48
Member Avatar for coroll

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 + ", " + …

Member Avatar for JamesCherrill
0
121
Member Avatar for pradeepptp

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

Member Avatar for JamesCherrill
0
326
Member Avatar for BinodSuman

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 = …

Member Avatar for softswing
0
497
Member Avatar for deshazer.jad

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, …

0
170
Member Avatar for trishtren

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) { …

Member Avatar for trishtren
0
277
Member Avatar for pateldeep454

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 …

Member Avatar for svfox2000
0
321
Member Avatar for london-G

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.

Member Avatar for london-G
0
105
Member Avatar for godzab

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 …

Member Avatar for ~s.o.s~
0
413
Member Avatar for ubi_ct83

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 …

Member Avatar for JamesCherrill
0
170
Member Avatar for Florinmoc

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 …

Member Avatar for florin.mocanu.501
0
219
Member Avatar for ganges

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.

Member Avatar for JamesCherrill
0
71
Member Avatar for DWIZARD1

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

Member Avatar for JamesCherrill
0
149
Member Avatar for Xufyan

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 …

Member Avatar for _aven
0
239
Member Avatar for hackit

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....

Member Avatar for stultuske
0
256
Member Avatar for lmthuan

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 !

Member Avatar for stultuske
0
200
Member Avatar for thijo

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 …

Member Avatar for philfv
0
5K
Member Avatar for James456

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 …

Member Avatar for James456
0
119
Member Avatar for XodoX

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 ); …

Member Avatar for JamesCherrill
0
109
Member Avatar for GlenRogers

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 …

Member Avatar for GlenRogers
0
115
Member Avatar for iamtheuser

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"; …

Member Avatar for krunal1986
0
438
Member Avatar for rajilakshmi

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..?

Member Avatar for JamesCherrill
0
2K

The End.