32,199 Topics
| |
i use an image ??? application. I browse trough its folder but can not find a single image file yet. There are plenty Java serialization data file, in its folder. i guess its store image on that file. any ideas to view ? (file attached) thank you verymuch | |
The ArrayList class extends AbstractList and implements the List interface. ArrayList supports dynamic arrays that can grow as needed. Standard Java arrays are of a fixed length. | |
I would like to know any advice for creating a program that will read in a *.csv file and load the data into a 24 x 24 array for further processing. I am including a total of 48 records, so that you can see how the data looks and what … | |
Hello :) This is my first post. I haven't done a Java type program in a while (2-3 years). I am trying to write a simple program which displays a window with 5 buttons. When you click either the first or second button it should open another window within which … | |
Hi team, Please show me how I can encrypt password and padd it with RSA algorithm. Show in java. Assume key is given. | |
I have a form in Acrobat DC with a data matrix barcode - when i scan the barcode it looks like this 777777799999MS2334WASHER912/15/16100YesYes3Q127/18 i need a tab between so when i scan them in excel they will fill in cells across a row. The code looks like this - any … | |
I am writing a java program that needs to execute shell commands, so I wrote a function that would take the command to execute as a string (ie: "mkdir ~/Folder1") and execute that command with the shell. Here is the function: try { Runtime run = Runtime.getRuntime(); Process pr = … | |
I'm getting a mising **).** error with a condition if (i=0;i<5;i++) ? | |
i have create desktop based application using java language. now i want to give it to my client so for that i want to create executable file for java prgram so how can i create .exe file from java program? | |
my activity is load a grid view from xml file and the controls from other xml file public class ResultActivity extends AppCompatActivity { GridView gridview; ArrayList<String> arrayList; String ip, db, un, passwords; Connection connect; PreparedStatement stmt; ResultSet rs; Button TButton; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.gridviews); TButton = … | |
Is there a way to develop a GUI which has graph data structure at the backend so that if we want to have information about a particular node or edge, we just tap its corresponding GUI representation and the app gives us the required info? | |
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them. I don’t want at this stage work on a big separate project as I've already got plenty … | |
Help! I want to create a java program that finds the highest even integer among the values entered by the user. Stop asking values when a value less than 1 have been entered. If no even integer is entered, display "No Even Integer" Here is the sample output that I … | |
The problem asks: Write a program that prompts the user to enter an integer from 1 to 15 and displays a pyramid, as shown in the following sample run: Enter number of lines: 7 [CODE=text]......1 .....212 ....32123 ...4321234 ..543212345 .65432123456 7654321234567[/CODE] (except the example given shows spaces in between the … | |
I am a student struggeled in the following task I very appreciate if you can help, and send me an e-mail of solutiont ASAP please. The task is: Design and implement an object-oriented program describing two kinds of bank accounts, FixedFee and ChargeableFee, that differ in the way that fees … | |
I have a Combo box/Dropdown and when a user clicks an option I want the combo box to set the text onto a jTextField. For example: if(carsJComboBox.getSelectedIndex() == 0) { currentCarsJTextField.setText("250 Million"); } if(carsJComboBox.getSelectedIndex() == 1) { currentCarsJTextField.setText("500 Million"); } The problem is that when the program runs, it automatically … | |
...I want to start Android app development. Was wondering anyone of you could suggest me the best resources to learn from. I know java but have no idea about Android app development. I hope the resources cover all the basic features that are there in any modern day app like … | |
when I boot up my Win 7 machine, I get this annoying message, as far as I know I don't even have Java. I can't find it anywhere on my computer. C:|User\Joan's Computer\new\new\jaAKSp I have searched the registry and also all programs but no Java. also, Google browser and Internet … | |
Hi, I have built an application using java programming and I want to write MySQL table data to excel sheet by using Apache's POI libraries and MySQL connector in java. I have explored many [mobile development blogs](findnerd.com/NerdDigest) for my previous query on Android Programming & get a satisfactory solution. I … | |
Write an application that displays a series of at least four survey questions; the survey can be on any social or political topic you want, and each question should have at least three possible numeric-choice answers. At the end of the survey, use a dialog box to ask whether the … | |
Hi all would like to ask question about JPA syntax ,which of this 2 versions of code syntaticly better and safer? public static Prices getPriceById(int id){ EntityManager em = DBUtil.getEntityManagerFactory().createEntityManager(); return em.find(Prices.class, id); } or this version : public static Prices getPriceById(int id){ EntityManager em = DBUtil.getEntityManagerFactory().createEntityManager(); try{ Prices pr … | |
Please tell me the all the implanted things that how to start because I am new in software development field. thank you.. | |
hi all it has been a very long time since I have written anything in here everythings has sicne change, i cant even find the java forum in here but anyway, my problem, i am practing on dis program, jus started it actually. I have two classes only, as I … | |
i am very keen to learn how to develop mobile apps, but i want to master one programming language. i hear you can design mobile apps for android, windows & ios using Java. Is this true, if you can someone explain the details of doing this in each platform | |
This is a little discussion/example of design for modularity and re-use, inspired by javaAddict and Orlando Augusto posts in their thread “Dynamic Multidimensional Array Printing” https://www.daniweb.com/programming/software-development/code/305580/dynamic-multidimensional-array-printing That thread has 3 solutions to printing the contents of a multi-dimensional array of arbitrary dimensions - although in fact all the solutions will … | |
Hi All. This is my first code snippet. I don't know how practical it is, but I came up with the idea, so I wanted to do it. Assuming you have an array. You use a for loop to display its data. For 2D arrays you use 2 for loops. … | |
i need code source caesar cipher in java source code complet | |
We have a client who needs to make the cash withdrawal option of their ATM's Inactive once the ATM runs out of cash or if there is a cash jam. Can anyone help with this? | |
I am trying to generate a random image everytime someone clicks spin. I am not able to generate a random picture. Some help would be really nice. Thanks in advance. Here's my code so far : import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Random; import javax.swing.*; public class Gui { … |
The End.