32,204 Topics

Member Avatar for
Member Avatar for Bdill7

i am using bluej and this code compiles but doesnt save the input and unique file extension to the same document. I am new so this may seem elementary but any help would be appreciated. thank you // File with a timestamp in the filename import java.io.IOException; import java.nio.file.Files; import …

Member Avatar for blockbench
2
44
Member Avatar for 勾玉

This project is a cross-platform Kafka GUI client. A star would be appreciated to support the open-source effort by the author. Thank you! # Features of Kafka-King * View the list of cluster nodes, dynamically configure broker and topic settings. * Support for consumer clients to consume messages from specified …

Member Avatar for rproffitt
2
24
Member Avatar for mateopg

Hello everyone, I’m working on a project to develop an educational software aimed at teaching programming logic to beginners. The app will focus on short questions and mini-games to make learning engaging and interactive. It’s targeted at university students in their first semesters and will primarily use Java as the …

1
13
Member Avatar for blockard

What model of Android phone would you start with for testing a Java app? Is there one phone of which you can say, "Well, it works fine on here. There’s a good chance it’ll work on 75% of other Android phones and tablets"?

Member Avatar for suwaidi
-2
32
Member Avatar for mateopg

I need opinions or advice on an application that I want to program in Java to learn programming logic through short questions.

Member Avatar for rproffitt
0
16
Member Avatar for DavidKroukamp

I have seen many people struggling with Reading files and writing files in java, also a great problem is how to edit a file too. So in this code snippet I have put all these problems into one small program in hopes to help others. So this code snippet will …

Member Avatar for Bdill7
5
23K
Member Avatar for Ray brad

My name is Ray Brad. I am a learner in Salesforce development and administration, and I also have knowledge of Java concepts. If anyone has questions related to these topics, feel free to comment, and I will do my best to answer them.

Member Avatar for Osama_21
2
56
Member Avatar for Mr.M

Hi DW, I've faced an issue with my project, it has been working these years till I think last year or the other year. When I sync it fails saying unable to resolve dependency no matter which version I try I get similar error differs with version number.

Member Avatar for WilliamOG
1
118
Member Avatar for TaraRiddle

Is there any method in java to generate random number (integer, byte or float) ? Please tell me if any i need it in my program. If possible please give full example. Thanks!

Member Avatar for WendyDolan
0
1K
Member Avatar for Robert_72

I'm start experiment with nodejs/coffeescript and the jade engine. I can see from the examples that setup are around seems pretty standard. app = express.createServer().listen process.env.PORT app.configure -> app.set 'views', __dirname + '/views' app.set 'view engine', 'jade' app.set 'view options', layout: true app.use express.bodyParser() app.use express.static(__dirname + '/public') app.use app.router …

Member Avatar for Sanket_17
0
2K
Member Avatar for sarfaraz_2

Hello, i've cleared my java certification exam and got the job interview. The interview will be held in the next month on 22 September 2024. I want to prepare for each every questions because i believe it would be the toughest round with BlackRock. This is my best call and …

Member Avatar for DEEPAK_84
0
61
Member Avatar for ASubhan

Reflect on your experience with object-oriented programming (OOP) in Java. Discuss how concepts like inheritance, polymorphism, and abstraction have helped you in your projects. Share examples and personal insights.

Member Avatar for DEEPAK_84
1
67
Member Avatar for Kajal_14
Member Avatar for ASubhan

Hello !! "I want to learn Java data structures and algorithms (DSA). I have recently learned Java object-oriented programming (OOP). Suggest me best tutorials for learning.

Member Avatar for trueframe
0
50
Member Avatar for varone

Hello, I have simple problem for professionalist (that i think ) but i asked all available AI about it and none was able to help and solve problem. so nothing is able to help me in this. I have simple app that show 3 colored axes and camera that move …

Member Avatar for varone
2
107
Member Avatar for Karen Morrow
Member Avatar for jprog1000

Hello, I have a program which creates multiple balls and bounces them off when they collide. This works fine. import java.awt.Rectangle; public class Ball{ private int x = 0; private int y = 0; private int radius; private int panelwidth = 500; private int panelheight = 500; private int xDx …

Member Avatar for aishamushtaq
2
179
Member Avatar for JILA
0
11
Member Avatar for Naija kid_1

Hi, Goodday everyone, I'm new to web development, please if I had questions, could I ask on her for a help reply?

Member Avatar for Dani
0
94
Member Avatar for nikk8a

Hello friends, I am stuck at a point in downloading multiple files as a single zip such that - the generated zip by my code for user download seems to be not a properly formed one. While trying to open the generated zip, I get an error as - "Cannot …

Member Avatar for Sachin_41
0
10K
Member Avatar for Vijay_34

So here, I am gonna to ask developers around which is the most popular language is used to develop a game for students or professionals.

Member Avatar for Esteban_5
1
106
Member Avatar for Lius

Need help with JTable header group : Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.table.JTableHeader cannot be cast to id.co.aal.common.GroupableTableHeader this is the part of table drawing ..... if(tabledraw) { tabledraw=false; for (int k = 0; k < m_data.getColumnCount(); k++) { TableCellRenderer renderer; if (k==Kehadirantable.COL_ALOKASI) renderer = new CheckCellRenderer(); else { DefaultTableCellRenderer …

Member Avatar for Jan_315
0
896
Member Avatar for jayashree10
Member Avatar for Shawne

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null. The error is from this line of code: home.addItem(new ModelItem(ID++, "Original Nuggets Meal", "", 90, "KFC", new ImageIcon(getClass().getResource("icon/img2.png")))); i use the correct folder as it is in a package in the same source of the file. please help!

Member Avatar for Shawne
0
285
Member Avatar for jayashree10

Describe prototypal inheritance in JavaScript. How does it differ from classical inheritance in other programming languages?

-2
32
Member Avatar for techlifelk

I get the following exception Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null My code is java.net.URL auth = getClass().getResource("auth.jpg"); Icon auth1 = new ImageIcon(auth); java.net.URL alert = getClass().getResource("alert.jpg"); Icon alert1 = new ImageIcon(alert); java.net.URL insuf = getClass().getResource("insuf.jpg"); Icon insuf1 = new ImageIcon(insuf); java.net.URL inva = …

Member Avatar for Dani
0
32K
Member Avatar for kukuruku

Is it OK to have if statement in the constructor Thanks [CODE] public class CTime { private int start_hour; private int end_hour; private int start_minute; private int end_minute; public CTime(int h1,int m1,int h2,int m2){ if(h1>=7 && h2<17 && h2*60+m2>h1*60+m1){ setStartHour(h1); setStartMinute(m1); setEndHour(h2); setEndMinute(m2); } }[/CODE]

Member Avatar for Washington AM
0
9K
Member Avatar for Artin_1

I've just finished reading Eric Matthes' Python Crash Course. A book which I found great to learn Python within a short time. The learning process wasn't really hard for me as I was already familiar with programming in other languages. Now I'm done with it and I've just started learning …

Member Avatar for Reverend Jim
0
106
Member Avatar for raj_41

If any of you have hands-on experience in developing texting platforms or have insights into the considerations involved, I would greatly appreciate your input. Factors such as real-time capabilities, scalability, integration with messaging protocols, and compatibility across devices are of utmost importance.

Member Avatar for Sajid_21
0
214
Member Avatar for abhishek_s_n
Member Avatar for Sofiia
0
1K

The End.