32,204 Topics

Member Avatar for
Member Avatar for nithyananthanaiker

Hello guys. I am currently developing an OCR tool using Chain-code algorithm in Java. I was googling and found this code in Matlab. I have no idea on using Matlab. So, I need help from someone who's good in Matlab to convert it into Java. This will be a big …

Member Avatar for Neha_18
0
1K
Member Avatar for Nation

Where can I download the SMSLib that is complete? I happen to have downloaded [this](http://smslib.org/download ) but it does not have this class: org.smslib.gateway.modem.Modem! Please help.

Member Avatar for stultuske
0
115
Member Avatar for Doogledude123

Why is my finally block not firing after projectDCThread.join() is called? This method IS in a class that implements Runnable, however it's not overriding the deprecated stop() method. public synchronized void stop() { if(isRunning || safeCloseRequested) { try { isRunning = false; projectDCThread.join(); } catch (InterruptedException e) { Logger.append("Exception thrown …

Member Avatar for Doogledude123
0
302
Member Avatar for DeanMSands3

Hi, Daniweb, it's been a while. I'm looking to do a mobile ssh-client (well, not quite a full client) that stores sensitive login information encrypted by a pattern-lock. However, I know very little about encryption. Can anyone recommend a good learning path - and by path, I mean Encryption for …

Member Avatar for stultuske
0
306
Member Avatar for Sheila Mae

My database have this record: timer_id = 1 time = 498 utc = 16:46:21 I'm retrieving the record the time column in the database but it won't retrieve the current record. I have this code for retrieving it: function start(){ div = "<?php $select = mysql_query('SELECT COUNT(*) AS num FROM …

Member Avatar for stultuske
0
174
Member Avatar for PratikSagar
Member Avatar for awi

i need help. my teacher told me to create a program on java gui that can send everything you input to notepad. then when you input another info in java gui. another notepad file should be made..

Member Avatar for Raul Perez
0
452
Member Avatar for Tomas_3

Hello guys, I am Toni Hacker, i browsed through this forum and I saw you guys really talk more about programming. i wanna make an operating system but i need a team. please its gonna be an open project. I need your advice and help. anybody care to help

Member Avatar for Raul Perez
0
309
Member Avatar for Louis_4

I. You are required to develop 1. Develop Problem Analysis Chart (PAC) (5 marks) 2. Interactivity Chart (5 marks) 3. Input Process Output Chart(IPO) (5 marks) 4. Algorithms and Flowcharts for the following problem: (10 marks) A lecturer calculates grades by dropping the lowest Assignment score from FIVE assignment scores …

Member Avatar for Raul Perez
0
169
Member Avatar for annya

Hello , I want to show some images in my app using php and universal-image-loader-1.9.1 Iam an stater and I have collected some code from another apps, My problem is when i use the same code to add the gallery in my app it was showing application stopped. If any …

Member Avatar for Raul Perez
0
319
Member Avatar for admiralchip

Hello, I'm using the rotate-layout library by rongi (https://github.com/rongi/rotate-layout) to achieve a horizontal list view by implementing the suggestion given by Kc Ochibili as an answer to this question: http://stackoverflow.com/questions/3240331/horizontal-listview-in-android. I'm getting the following errors when I try to use the library: "error: Error parsing XML: unbound prefix" and "Attribute …

Member Avatar for Raul Perez
0
455
Member Avatar for hsaraiya

I am trying to Draw a graph which can read data values from Text files. In which i want to consider 1st column as X-axis and 2nd as Y-axis.

Member Avatar for JamesCherrill
0
2K
Member Avatar for overwraith

I am trying to build a program for transferring files to an arduino project with an attached sd card. I have some code, it does some interesting stuff, but it's not quite what I want it to do. What I need it to do is to be able to transfer …

Member Avatar for rproffitt
0
822
Member Avatar for Doogledude123

Flickering occurs when Active Rendering with JPanel, not sure why as I've done this before (couldn't find source code of that project however). Relevant Code: Graphics g = projectDCWindow.getWindowGraphics(); // Gets the Graphics Object from a JFrame g.setColor(Color.BLACK); g.fillRect(0, 0, (int) ProjectDCInfo.getDefaultWindowSize().getWidth(), (int) ProjectDCInfo.getDefaultWindowSize().getHeight()); // Clears the screen projectDCGSM.get().render(g); // …

Member Avatar for Doogledude123
0
2K
Member Avatar for abhijitmuthe
Member Avatar for rproffitt
0
58
Member Avatar for Steven_10

Hello I am trying to take a multi-deminsional array[ ] [ ] (2D (if you will)) and set a varriable through a classes public setter. //some of the fields private int request_id; private String time_stamp; private int session_id; private int client_intf; private int server_intf; // many more... // Some Getters …

Member Avatar for Steven_10
0
185
Member Avatar for Sasi_2
Member Avatar for Mar. Na.

Hi,all I need a java parser for parsing any java file in any package,not only existing file ...Can i do this ? how?

Member Avatar for JamesCherrill
0
671
Member Avatar for PratikSagar
Member Avatar for Yash969680

write a program that displays the following information, each on a separate line: * your name * your address, with city, state and ZIP * your telephone number your college major Although these items should be displayed on separate output lines, use only a single **println** statement in your program.

Member Avatar for Reverend Jim
0
475
Member Avatar for joshSCH

When I try to execute my jar file through the command prompt by typing: java -jar myJar.jar It returns an error message saying that it can not access the jar file. Why is this? myJar.jar is the exact name of my jar file.

Member Avatar for stultuske
0
36K
Member Avatar for PratikSagar

can anyone help me that how I can read numbers from images through java program..

Member Avatar for JamesCherrill
0
321
Member Avatar for Gl753

Hi, I'm currently working on a GUI programme that caluculates the amount of days in a month through user input. However I've become stuck where the programme crashes upon entering the month number. I believe that I may have incorrectly chosen my instance variables but I am unsure of which …

Member Avatar for stultuske
0
334
Member Avatar for chrisschristou

hello i just get started with java so i have a question where the difference from c/c++ and the famous lovely java begin, the function or better method, so in c/c++ we can make a function prototype on top the main and then define it later like this int myfunctionprototype(int …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Narmada_1

Hi I want to change my carrier from Php to Java. I have 2 years of experience in php web development like wordpress, joomla tools. There after I changed company there on my company request, I learnt java on my own by seeing tutorials. They assigned me spring project I …

Member Avatar for Narmada_1
0
235
Member Avatar for Ravi_23

package com.mkyong.util; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class ReadFromCVS { ArrayList<datas> dataList = new ArrayList<datas>(); public static void main(String[] args) { ReadFromCVS obj = new ReadFromCVS(); obj.run(); obj.printDataList(obj.dataList); } public void run() { String csvFile = "C:\\Users\\User\\Downloads\\SalesData.csv"; BufferedReader br = …

Member Avatar for JamesCherrill
0
227
Member Avatar for claptus

Let assume that ‘k’ is an integer that indicate and reveals exactly the length of subset that sum to 0. Thus length of subset to pick is determined by ‘k’. If I would like to pick only ‘k’ distinct set of integers from any given set of integers in polynomial …

Member Avatar for Reverend Jim
0
299
Member Avatar for Sandeep_16

Consider a single producer and 10 consumers as threads. The consumers has to subscribe (Ad themselves) to the producer in-order to get any messages that produces sends. The expected functionality is that, the producer should add a message to a data structure/collection (you choose of your choice) every 2 minutes …

Member Avatar for JamesCherrill
0
234
Member Avatar for Steven_10

package com.company; /** * Log Nazi -- Created by Steven Richardson on 2/2/2016. */ import javax.swing.*; import java.io.*; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import java.util.Scanner; /** * Created by Steven on 1/29/2016. */ public class LogReader { // declare variables static String theFile; static int rows = …

Member Avatar for Steven_10
0
976
Member Avatar for jjones0150

I'm trying to figure out why my removeProduct method won't actually remove the product from the list please give me some feedback. InventoryApp.java class package JayJuan; import java.util.Scanner; import java.math.BigDecimal; import java.util.Scanner; /* Main class used to add a product, remove a product, update a product, or view the product …

0
259

The End.