32,199 Topics

Member Avatar for
Member Avatar for pekemp23

My teamate and i are looking into how to: The application did not work as required. There was a package statement; (-2) Even though you caught the exception, the incorrect donation should not be printed out to the JtextArea. (-2) I would also work on appending to the text area …

Member Avatar for cgeier
0
329
Member Avatar for Rahul47

When we create an object how much memory will be allocated to it ? Is memory allocated for methods too ? If Yes, How ?

Member Avatar for JamesCherrill
0
131
Member Avatar for jrosh

Please any one can guide me how to write a [B] mysql database search[/B][I] in java....[/I] I want to search mysql database for some data in keywords. please help... thnakx

Member Avatar for Sardar_1
0
2K
Member Avatar for aravind326

Hi, I have a java class that is being used by multiple people (from a UI). In the class i have a static HashMap with the userKey as the map key and an arraylist with data pertaining to the user as the value. I am using this kind of like …

Member Avatar for aravind326
0
388
Member Avatar for anand01

I have problem with jinitiator. I am using Oracle ERP forms which runs on Jinitiator.When I access some other java applet application at the same time it runs in the JRE in and works fine. When I pass the same java applet application in ERP through a link , I …

Member Avatar for jwenting
0
189
Member Avatar for wallet123

Im trying to integrate my website with facebook so that users wont have to sign up. By just using their FB accounts, they can automatically be logged in, but im encountering an error: java.lang.NullPointerException at com.fblogin.CallbackServlet.doGet(CallbackServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) …

Member Avatar for jwenting
0
311
Member Avatar for wallet123

I want to connect my website with Facebook. I'd like my user to be able to login to my site without having to sign up. Jut by clicking the facebook logo, I will be able to fetch the data needed like their email, name, age, etc. I used **restFB** but, …

0
131
Member Avatar for CoilFyzx

Hello good day. I am trying to figure out if it is at all possible for me to do but I want to access the area that is outside the JScrollPane's view when my JFrame is resized. Let me explain; I have a LayeredPanewith two layers within a JscrollPane. The …

Member Avatar for CoilFyzx
0
231
Member Avatar for JamesCherrill

This is my 10,000th post in the DaniWeb Java forum. so I hope I won't get an infraction for being off-topic. I just thought this would be the perfect opportunity to thank all the people who have helped to make this such a valuable and rewarding experience for me. I …

Member Avatar for peter_budo
6
237
Member Avatar for LyingInAHammock

How do I replace my android app Google maps radius circle with a blue translucent one as in image also blue marker with blue circle? I can make the circle have a particular outline and fill but it doesn't look anywhere near as nice as the one depicted in the …

Member Avatar for LyingInAHammock
0
817
Member Avatar for rodi406

It compiles and runs fine, but when I run it it never ends. It keeps asking for a second integer. Here's the code. Scanner get = new Scanner ( System.in ); System.out.print( "Please enter first integer: " ); int value = get.nextInt(); int smallest = value; int largest = value; …

Member Avatar for tricket_7
0
174
Member Avatar for tricket_7

I am to create a program which creates multiple threads, has them do work in parallel, and terminates when the last thread is finished, sounds simple right? Here is the curve... I am supposed to create thread objects using scanner input, and I am at a loss When I run …

Member Avatar for tricket_7
0
701
Member Avatar for matthewborgcarr

Hi, I have an application that has the feature to change the users with the click of a button. For the first attempt it works fine; it closes the JFrame and opens the login JFrame. However if the users clicks on the button to change user for the secound time, …

Member Avatar for mKorbel
0
246
Member Avatar for fuchsia555

Hello everyone, I'm about to develope a simple app for mobile and i want your help about how to make a code for sending the order of the selected items by SMS or E-mail to a sepcific cell number or E-mail after selecting the desired items clicking on the button …

Member Avatar for peter_budo
0
134
Member Avatar for sheelap

i have a problem with java.suppose there is any java project either database,or any api how to create A JAR FILE? because i made a project medical stores management in java & access .but i dont know how to create jar file for it from Shel

Member Avatar for rubberman
0
244
Member Avatar for sk8ergirl

I understand how to create log in system in java netbean using sql , but how can I create log out button

Member Avatar for jwenting
0
79
Member Avatar for Doogledude123

Cannot get FXMLLoader to load this fxml. Error: Feb 19, 2014 11:25:01 PM com.github.geodox.goldminer.GoldMiner start SEVERE: null java.lang.NullPointerException: Location is required. at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2825) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2809) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2795) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2782) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2771) at com.github.geodox.goldminer.GoldMiner.start(GoldMiner.java:24) at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319) at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:219) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:182) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:179) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76) at com.sun.glass.ui.win.WinApplication._runLoop(Native …

Member Avatar for Doogledude123
0
5K
Member Avatar for sami11

I already wrote code in ILOG CPLEX (CP) environment and now I want to write it in JAVA, Eclipse. Can you help me

Member Avatar for sami11
0
182
Member Avatar for stillHaveHope

Use a two-dimensional array to solve the following problem. A company has four salespeople (1 to 4) who sell five different products (1 to 5). Once a day, each salesperson passes in a slip for each different type of product sold. Each slip contains the following: a) The salesperson number …

Member Avatar for radhakrishnan.akshai.3
0
9K
Member Avatar for CoilFyzx

Hi. I have a JFrame with a JLayeredPane. On the first layer there is a table, then above it there is black transparent layer that allows me options and what-not. I animate the arrival of this transparent layer. However when I do this the panel seems to loose it's transparency, …

Member Avatar for CoilFyzx
0
571
Member Avatar for Fatima_110

I'm just starting my 2nd semester in Java. The project for the semester is: I have to create a EDUCATIONAL GAME or any SYSTEM using java. I am clueless what to decide to make. Please I need help ... I dont have enough Java knowledge and need the idea of …

Member Avatar for Fatima_110
0
213
Member Avatar for ZaneDarklace

I am working on a project where you must first encrypt a sentence then decrypt it. the code that is used is: `import java.io.*;` `import java.util.*;` `public class Decryption `{` `public static void main(String args[]) `{` `Scanner kbReader = new Scanner(System.in); `System.out.print("Enter a sentence that is to be encrypted: "); …

Member Avatar for ZaneDarklace
0
901
Member Avatar for Doogledude123

`final PerspectiveCamera camera = new PerspectiveCamera(true);` The constructor PerspectiveCamera(boolean) is undefined. http://download.java.net/jdk8/jfxdocs/javafx/scene/PerspectiveCamera.html Clearly says that it can accept a boolean for "verticalFieldOfView" Why is Java giving me this error?

Member Avatar for Doogledude123
0
349
Member Avatar for hitro456

Hi Folks, I am new to java programming. I have an xml file <File> <XMLFile> <Type = "TypesFirst"> <myI>17</myInt> <myS>Type one</myS> <myD>3.14</myD> <myL>1212121</myL> <myC>D</myC> </Type> </XMLFile> <XMLFile> <Type = "TypesSecond"> <myI>17</myInt> <myS>Type two</myS> <myF>7.14</myF> <myL>121456</myL> <myC>D</myC> </Type> </XMLFile> </File> So I have to deserialize this file in such a way …

Member Avatar for anand01
0
195
Member Avatar for bjnzzzle

I suppose to write a Java program using array and method follows: It reads a sequence of strings, each on a separate line, and stores them in an array, let call it input1, with one string per cell, in the order they were read. The sequence ends with an empty …

Member Avatar for JamesCherrill
0
345
Member Avatar for Pyler

I'm trying to implement a hangman game using linked lists but not getting anywhere. I want guessed characters to be inserted in a Linked list of chars at a position that corresponds to the character's position in the word they are trying to guess.(See example at bottom.) For some reason …

Member Avatar for JamesCherrill
0
2K
Member Avatar for V3N0M

Hi everyone I am coming from a C background and I am finding it hard to understand wrapper classes and unwrapping them and their use. Can anyone tell me how they work in english that is easy to understand. And what is an object is it a variable, a data …

Member Avatar for JamesCherrill
0
148
Member Avatar for BeganMemory

At this point I know how to utilize Google Maps within Android but it always seems to take up the full window, there is an image below which shows what I'm attempting to accomplish (having a box below the Google maps where I can store text i.e. "Hello World" **How …

Member Avatar for peter_budo
0
459
Member Avatar for CoilFyzx

Howdy-ho. I am trying to right click on my table and change the cell border color and highlight color of that cell. I have figure out how to give that particular cell focus when I right click it by using int row = fixed.rowAtPoint(evt.getPoint()); int col = fixed.columnAtPoint(evt.getPoint()); fixed.changeSelection(row, col, …

Member Avatar for mKorbel
0
673
Member Avatar for abhishek.anand.37017794

class Simple { void display() { System.out.println("ant hnkg"); } class Local { void msg() { System.out.println("inner"); } } public static void main(String args[]) { Local l = new Local(); l.display(); } }

Member Avatar for balaji.ghadage
0
1K

The End.