76 Discussion / Question Topics
Remove Filter In the past couple of days, I've been practicing with JavaFX and I made myself an app, which I am planning to use in the future. It is supposed to keep track of web pages and the passwords I use for them, usernames as well of course. The program itself … | |
Please before you answer NOTE , I am not trying to implement a keylogger, this is just a QUESTION. So, It just randomly happened that I started thinking about this and I figured that in java if you want to have a keyEventListener the key should be entered in a … | |
Not sure how to explain what is going on but after some time scene builder just won't display the fxml file that I am trying to modify further. It happened a couple of times so far and its really annoying because nothing can be changed. Yes, I do see scene … | |
I am following [this](http://code.makery.ch/java/javafx-2-tutorial-part1/) tutorial to get into JavaFX using scene builder and so far I really like it as the person who made it explains things in deep detail. I finished the first part and tried executing the code so far, but it returns multiple errors. Here is more … | |
Apparently JavaFX is getting really into the game now as far as I see and I think its time I start getting to know it .. Just read a couple of articles and a few questions came up in my mind: - Do I need to use IDE (eclipse) for … | |
Not sure if this is where I should post this but I found it pretty cool. Its basically all core linux commands for command prompt Note: You have to include the bin folder in your winows Path and it works like a charm | |
Me as one of the users in Dani web and a person who has interest in Java, I've tried to solve if not all, most of the begginers problems. I've even tried to solve some myself afterwards however, now I ran out of ideas. I would also like to move … | |
I have Kali Linux and a week or 2 ago I made a new user which was a copy of root. Now I am getting message that new updates are available and when I click install it asks me for administrative password. When I enter the user's password I get … | |
I just installed windows 8.1 and wanted to have a performance widget on the side but noticed that I don't have any inbuilt .. just google and found [this](http://www.myfavoritegadgets.info/monitors/SystemMonitorII/systemmonitorII.html) . It seems incredable? Does any1 have any experience with it? | |
So, basically I tried to do everything i found to fix this but nothing really worked .. (It works fine on my 32 bit pc using elementary os(Luna linux). However my laptop has Kali Linux 64 bit. I have chromium installed. Some of the things that I tried which worked … | |
I installed Kali linux and while i was running as root I installed quite some programs and made graphical changes etc, even changed desktop environment .. then made a new user so I won't be using root and the new user has all the default stuff and no access to … | |
I asked a week ago a question about this, now I tried to google around and found this toHex method. It has an empty spot about the charset. For example I want to use UTF-8 but if I enter it returns an error and if I don't specify it, the … | |
Before I even attempt doing anything in this direction, is it possible to enter a string and get it represented in ascii? I am reading an article about XSS and SQL injections part of a course that I am taking now, and some of the tips are that people in … | |
@JC, I just wrote this code really quick and it does compile without errors for the server side ... but I am not sure about 1 thing .. here is the code first import java.net.*; import java.io.*; public class GameServer extends Thread{ private ServerSocket serverSocket; private enum Action { Scissors, … | |
I made the famous game Scissors, Paper, Rock as console application. The game runs great ... Now I want to make it a bit more advanced and allow 2 clients/users to play against each other from different locations. I checked few tutorials on sockets and networking, and in them they … | |
I am trying to create a runnable jar file .. did a few days ago with a single class and worked fine but now it doesn't seem to be working as good with multiple files .. Here is what I did 1) - create manifest.txt the contense of it is … | |
It's not really a problem that I am facing, more like looking for explanation ... I had this import java.util.*; import java.io.*; public class ReadFile { private static int lines=0; private static List<String> words=new ArrayList<String>(); private static String fullLine; private static int indexOfSpace; private static String getWord; private static String … | |
A few days ago, i made a hangman game and I really want to complete it in any aspect. One of my ideas now is to "import" words from a file. Currently what I have is an Array of Strings (just a few words inside for testing) and what I … | |
How can I keep track of the unguessed letters yet in my JTextArea? In the non gui version I used an arraylist, worked fine but should I leave the arraylist and use it to track unguessed caracters ? The method is still console based, just started implementing the gui made … | |
Well, the title says it all. Imagine that I have HelloWorld.java , I want to create an executable jar from it. I know that if I use IDE such as eclipse I can create it there but how can you create it without that? | |
Some time ago, I wrote some code, which uses DFS to find whether there is a path from a source vertex to a destination vertex. However, I am thinking now what if there is more than 1 possible way? What comes to my mind is save paths in an ArrayList … | |
Hey guys, I ve been using elementary (luna) os distribution of linux and I am really satisfied with it .. the only problem that i am facing is when switching between application sounds .. I ll give you an example: Using my headphones to speak on teamspeak and listen to … ![]() | |
Okay, so I have the following while(!connected){ if (details){ System.out.println("connected"); defaultHost = tfServer.getText(); defaultPort = Integer.parseInt(tfPort.getText()); program.run(); } System.out.println("Not connected"); } where details is true when a button is clicked. This works fine expect that my console is getting spammed by "Not connected" until I press the button and details … | |
So, I've been making a gui for a client to connect to a server using it. What I want is when I press Login to connect with the specfied Server address and port name on the gui. If I have hardcoded the Server and port it works but I don't … | |
Hello everyone! I've read a lot of articles on DaniWeb and I've decided to join your community! I have a university project to make a bank account system, which consists of at least 10 account classes, and 3 of them inherit from at least 2 other. The system has 1 … | |
Hey guys, How are you doing? My name is Slavi and I am 22. I am currently studying Electronics and Computer engineering in Copenhagen, Denmark. I am very excited to become part of DaniWeb's community. I am a very interested person in programming and I am taking every optional course … |
The End.