35,618 Topics

Member Avatar for
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
49
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
232
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
49
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
123
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
327
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
500
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
173
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
281
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
323
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
108
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
416
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
176
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
221
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
72
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
152
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
240
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
258
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
202
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
122
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
110
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
116
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
439
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
Member Avatar for teomurgi

Hi all I would like to embed an encoded image into an FXML (i need this in that I'm coding a converter between svg and fxml). I tried with this: <AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns:fx="http://javafx.com/fxml"> <children> <ImageView fitHeight="150.0" fitWidth="200.0" layoutX="153.0" layoutY="94.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYEAYAAACw5+G7AAAABmJLR0T///////8JWPfcAAAA …

0
228
Member Avatar for Erdem.

i use <c:forEach like this <% ArrayList<Categorie> categories = new CategorieDao().getAll(); request.setAttribute("categories", categories); %> <c:forEach items="${categories}" var="categorie"> <a href="film.jsp?id=${categorie.id}> ${categorie.ad}</a> </c:forEach> but how can i use this categorie's attribute in java tag like this <cc <c:forEach items="${categories}" var="categorie"> <a href="film.jsp?id=${categorie.id}> ${categorie.ad}</a> <% int count= new CategorieDao.getSome(***categorie.id***); %> </c:forEach>

0
59
Member Avatar for elkowalski

hi guys, i was wondering if someone can point me in the right direction of how to create an interface with a playstation usb controller for a game that i have in java. thanks

0
62
Member Avatar for branflake

On my class side I cannot seem to get netPay to calculate and am also having problems with finding insDeduct. On the demo side I have you choose between S - Single and M - Married. Any help would be greatly appreciated. [CODE]public class ChapterFiveClass { // Declare some fields …

Member Avatar for SylvesterAbreu
0
139
Member Avatar for GlenRogers

Can someone point me in the right direction for formatting text and aligninng text in a JTextField? Thanks...

Member Avatar for GlenRogers
0
2K
Member Avatar for ktsangop

Hi everybody! I am having some trouble running a detached process using CreateProcess function in C++. I have been using the following function to spawn processes in c++ for years now havnig no trouble. I have used it with console applications, mfc apps, dialog based ... etc : StartProc(char *callprogram, …

Member Avatar for ktsangop
0
823

The End.