32,204 Topics
| |
I want to learn web programming with Java. I'm using eclipse neon with tomcat 8.5.13. My question is do these tools support asynchronous programming and server push technologies or should I use other tools? Thanks | |
hi this is jus a question. if you are doing a program that uses a GUI, with the radiobutton, checkboxes and so on why do you have add an import for all the jradiobutton and jcheckbox. is is necessary to add an import for each of them | |
i have learn this Java since last month for my work purposes. i wanted do this exercise. this is Vending Machine Program. I don't if write it in a wrong way. So i need somebody to show me the in my code. i know there must be wrong somewhere in … | |
Hello there, I am working on a school project, this project is a program that separates the entered words into syllables, but now I have made my algorithm according to our country but I can not decide in one place I will do it by using the program sequence but … | |
public class roughLargestSmallest { public static void main(String[] args) { System.out.println(" Enter a sentence "); String x = IO.readString(); compress(x); } public static String compress(String original) { int count = 1; StringBuilder builder = new StringBuilder(); for (int i = 1; i < original.length() - 1; i++) { if (original.charAt(i) … | |
good afternoon to every body iam doing my final year btech(cse).iam thinking to do mini project in java. i have less knowledge how to start,how to get title,how to proceed .can any one please give ur advice to me........................... | |
hello guys i am looking for anything that has to do with virtual reality. i am doing a research on the application of virtual reality in e-commerce so if you have anything that is in line with virtual reality please help me. thank you | |
Hi guys, can you help me with a MIPS Asm exercise. It's the first time that i coding in this language... I solved the exercise in Java, you can get some help to convert it to MIPS? thanks a lot to everyone Java code: public class Exrcise1 { public static … | |
This might be a simple problem but I had difficulties finding a solution. I'm trying to return data in specified formats for the same input. I've data in two tables - Book_Details and Book_Summaries - which I need to combine in fixed formats. My requirement is that I need to … | |
Hey Everyone, I am looking for possibly a CRM that can be used for multiple items: 1. Invoicing 2. Credit Card Processing 3. Front End Website 4. Customer Area/Members Pages 5. Admin Area 6. Integrate with Quickbooks? 7. Manage Employees (Time and Sales) 8. Inventory Management Any advice would be … | |
Hello All, I'm currently working on a project which requires me to encrypt multiple text files at one go. I am able to retrieve the name of the files through listfiles() but how am i supposed to pass those files to File variable so that the encrypt method can encrypt … | |
I have been alerted o the fact that there are "security issues" with Javascript, but have no idea what the issues are. I have written a webpage in HTML which incorporates a menu written in Javascript. A user alerted me to the fact that the menu does not appear with … | |
Hello i have an other code that bother me because i am confused what i should do take a llok to the questions first: **Example 2: The GradeBook Class: Consider the attached GradeBook class. Complete the following tasks: 1-Modify the determineClassAverage method so it allows the user to enter the … | |
hi, does anyone know how to insert a background picture to a JPanel? I have googled around, found something seem more difficult than it should be, and a simple one as below but not showing the pic. [code] midBoard = new JPanel(); JLabel pic = new JLabel(new ImageIcon("Sunset.jpg")); //midBoard.setBackground(java.awt.Color.RED); midBoard.add(pic); … | |
I'm trying to implement Callable for Strassen's algorithm to multiply two matrices. I'm new to this, and i'm having a few issues and I can't figure it out for the life of me :( . The first problem is that the program prints out 0 for all the elements of … | |
Hi i have other problems in other class the questions is ** The Person class Create a class called "Person" that includes three pieces of information as instance variables: a name, address, and age. Your class should have a constructor that initializes the three instance variables. Provide a set and … | |
Hello everyone, I have a reall small questions and i am stuck in the end of my code. I need just someone explane it to me please or maybe i am confused. Take a look... Questions: **Create a class called "Employee" that includes three pieces of information as instance variables: … | |
Hi guys, as I have never used any design pattern I thought I might try to learn something by developing a small application. What I'm thinking is something like a radio controlled car simulation - I mean a really really simplified version of it of course - something like creating … | |
I've been googling and going round in circles, simply put: when the button is clicked i want an image of a card to appear. [CODE]class Actions extends JFrame implements ActionListener { JTextArea textarea = new JTextArea(2,25); JButton twist = new JButton("Twist"); JButton bust = new JButton("Bust"); public Actions() { super("Twist … | |
Have an online app "keepCalling.com" that allows one to make calls to land lines over the internet. Has worked for years but now I find that new devices after java installation are not recognized by the online app. Looking for a way to generate reports for what might have failed. … | |
I have been comparing a Java GUI program's start time to both native apps and another Java based app, and I have concluded that my program is launching a little too slowly, or at least a little slower than I would like. I think it's taking too long to load … | |
Hi, I have a view say a Button, i made a border for it in a paint application, now i wwant to use that border as the border for my button, how can i do that in such a way that it looks well on all screen sizes? | |
What does mean by saying polymorphism allows programming in general rather then programming in specific? | |
The following code will allow me to add a table row line and I can add the starting amount with the first amount input into the first row, but if I add a row and enter in an amount I want it to add or subtract that as well. Thanks … | |
Hola people :D So now that my holidays have begun... I'm bored :P I have decided to make random stuff with Java. So till now I have upgraded my checkers game (added high scores, color 'themes' for the board, etc.), made a music player kind of thing (used JFileChooser and … | |
public static void main(String[] args) { System.out.println(" Enter a terminating value "); double term = IO.readDouble(); System.out.println(" How many numbers will you enter "); double numbers = IO.readDouble(); //reading the value of how many numbers the user will enter System.out.println(" What is the largest number you will enter ?"); while(numbers<1){ … | |
Dear contributers of Daniweb, Currently I'm working on an Android/Java project, where I'm running into a problem with the following code. private List<Property> filteredList; private List<Property> propertyList; public List<Property> getPropertyList() { Boolean useFilter = false; if (!filter_town.trim().equals("")) useFilter = true; if (filter_bedrooms > 0) useFilter = true; if (useFilter) { … | |
Hi! I have create a simple desktop application (CRUD operation) using java derby by using the library "derbyclient.jar" I want to deploy it on another computer which not have netbeans IDE installed. I ''clean and build '' the project and a jar file created in dist folder of my project … | |
how do i implement multiprogramming using fixed partition? Thanks.. | |
The End.