35,618 Topics

Member Avatar for
Member Avatar for custurd122000

I need a code that reads in a text file into an object Computers and sorts the specific indexes in descending order, as you can see the first one vendors is already sorted so you just need to print that one. Then in my case 2 I need to print …

Member Avatar for cgeier
0
511
Member Avatar for anisha.silva

Hi, I have a parser in .madl language in a txt format and I want to implement the code completion in java in eclipse plugin project. Fro ex: code completion is in a java editor if you press Ctrl+space a popuo window appears with relating option that are available, I …

Member Avatar for anisha.silva
0
419
Member Avatar for anisha.silva

Hi, I am implement a plugin project in eclipse in java language. I have a parse which is in s simple txt file. Below is the txt for the parser. id=app1 [String] #type=app [String] mainView=top name=First App [String] children: size=1 === child[0] === class=View id=top [String] #type=View [String] #line=8 [Integer] …

0
155
Member Avatar for sk8ergirl

I have combo box and two type of employee in my db I want to display full time emplyee in the combo box however when I tested the code I this line is executed ` test = conn.prepareStatement("select * FROM Employee WHERE EmployeeType = " + "'" + "Part Time" …

Member Avatar for JamesCherrill
0
161
Member Avatar for jayturner

import java.util.*; public class Node { int costs[][]=new int [4][4]; int mincosts[]=new int [4]; int dest[]=null; ArrayList packets=new ArrayList(); Simulator sim=null; /** *@param args */ public RoutingPacket creatertpkt(int srcid, int destid,int mincosts[]) { RoutingPacket oRPacket =new RoutingPacket(); oRPacket.setSourceid(srcid); oRPacket.setDestid(destid); oRPacket.setMincost(mincosts); return oRPacket; } void rtinit(int srcid,int dest[], int initcosts[][],int initMinCosts[],Simulator …

Member Avatar for JamesCherrill
0
270
Member Avatar for Jjaus

Write a class that accepts a user's hourly rate of pay and the number of hours worked. Display the user's gross pay (gross pay = hours worked * hourly rate), the tax withheld (tax withheld = gross pay * tax rate) and the net pay (net pay = gross pay …

Member Avatar for Jjaus
0
147
Member Avatar for CoilFyzx

Hello I am using jxls quite fine. I'm sort of on my last lap with exporting my data to a file. However all I want to know is, how do I display my collection in the same row please? I've manage to do this downwards in the same column, but …

Member Avatar for CoilFyzx
0
291
Member Avatar for ezekel

Hi i need your help please I am still learning android...i don't know this error "at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1133)"... can you help me how to solve this. Thank you.

Member Avatar for peter_budo
0
908
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
330
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
135
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
390
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
196
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
319
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
133
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
233
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
240
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
819
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
177
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
728
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
248
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
135
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
245
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 mahaboob Basha

hi can any one help me in this.. i have a html/jsp form in that i have a field .. enter password... first time password will be stored in the databse... from second time when user enters passowrd wrongly for 3 times then it has to dispay some msg contact …

Member Avatar for rexraja
0
2K
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
183
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
582
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
216

The End.