32,204 Topics

Member Avatar for
Member Avatar for poopuh

I have to build a program which takes a password as input and then the password machine hacks it. It should do it by looping through the ascii character map 4 times i.e a, b ,c etc followed be aa, ab, ac. It's meant to simulate a "brute force attack". …

Member Avatar for poopuh
0
249
Member Avatar for nurib

I am a final year student. My supervisor had asked me for creating one chat program using java. i don't have any idea on how to started it. he asked me for doing a standalone system. please help me solve this problem?

Member Avatar for Schol-R-LEA
0
331
Member Avatar for bibiki

Hey there, I have a question regarding the builder pattern that I need someone with more experience to clarify for me. I have this User class that has an inner, public static Builder class that has the same fields as User as well as the corresponding setter methods. Now, the …

Member Avatar for bibiki
1
155
Member Avatar for Narayanan87

Hi, I would need help in getting this logic done. I am having an input file in below format: AAAAA HsfAgr345S 001 pos gfdgojog AAAAA HsfAgr346S 001 pos gfdgojog AAAAA HsfAgr347S 001 pos gfdgojog BBBBB POSgfgh571 002 ipo postalap BBBBB POSgfgh572 002 ipo postalap BBBBB POSgfgh573 002 ipo postalap BBBBB …

Member Avatar for Narayanan87
0
193
Member Avatar for jasonw749

So, i have made a small test application attempting to learn and get used to the Trident library. I use a Timeline to alter the position of a JPanel. I was really impressed with how well it worked, until i added a background color to the moving panel, its all …

0
63
Member Avatar for mKorbel

- Please how is possible (probably dirty hack) to create [How to Create Translucent and Shaped Windows](http://docs.oracle.com/javase/tutorial/uiswing/misc/trans_shaped_windows.html) - undecorated container (returns *java.awt.IllegalComponentStateException: The frame is displayable.*) - change Look and Feel for (returns *AWT-EventQueue-0" java.awt.IllegalComponentStateException: The frame is decorated*) - by using code from linked official tutorial . import java.awt.*; …

Member Avatar for mKorbel
1
1K
Member Avatar for Stuugie

Hi All, I created a small executable that runs an SSIS project. It works on my system but when I tried using it on a colleagues system nothing happens. I'm not overly familiar with with part of Java so any suggestions will be most appreciated.

Member Avatar for Stuugie
0
119
Member Avatar for sirlink99

I am trying to use java to detect when a USB is inserted and to read from it. I am currently using javax.usb to try to accomplish this however I get this error (line 11) when running my program javax.usb.UsbException: The property javax.usb.services is not defined as the implementation class …

Member Avatar for sirlink99
0
588
Member Avatar for jacksonbird03

Hello Everyone... I am new to the Java and want to learn java from the beginning... Please suggest me some good books and references to learn java efficiently...

Member Avatar for bibiki
0
86
Member Avatar for Dane2259

I'm trying to create a multiple choice quiz, and I need the content pane to scroll. If you run the program I've attached you'll see what I mean. Each question and the answers are place in a JPanel and the JPanels are place on the content pane. Thanks in advance …

Member Avatar for mKorbel
0
128
Member Avatar for lody

hey guys, i'm new to java ,,,and i have a problem wish u to get ur answer ASAP i'm reading from a text file by PrintWriter , and there are 3 rows first row is ID second row is name and third row is address. and i want to get …

Member Avatar for stultuske
0
191
Member Avatar for anisha.silva

Hi how do i convert a strnig to XMLGregorianCalendar type. I used the below code for this but it throws an exception. userInput41 is a stirng parameter. XMLGregorianCalendar sdate=DatatypeFactory.newInstance().newXMLGregorianCalendar(userInput41); appreciate a reply thanks

Member Avatar for anisha.silva
0
422
Member Avatar for coolrosy

hai friends.. i want to know whether any mobile apps developed by PHP..plz reply...most of the companies choosing java for they mobile apps..it is possible means just tell the tools required for that

Member Avatar for annaharris
0
96
Member Avatar for CoilFyzx

Hello good day. I have an urgent need as it relates to creating a table. Is it possible to create sub-columns under a main column? Please see image file for clarification. ![70637f1f94a4b270bf9cc203f22390bf](/attachments/large/3/70637f1f94a4b270bf9cc203f22390bf.png "70637f1f94a4b270bf9cc203f22390bf") Ultimately, I want to create a coulmn heading, and then beneath that heading divide it's width into …

Member Avatar for JamesCherrill
0
919
Member Avatar for game06

les say i want collision between two rect than i cant set up bounds on both rect: public Rectangle getBounds(){ return new Rectangle(x, y, width, height); } than to check for the collision i can do this: if(rectOne.getBounds().intersects(rectTwo.getBounds()) { ...} **now les say what if i want 2d array:** 0, …

Member Avatar for JamesCherrill
0
468
Member Avatar for silent lover

i want to replace email string, so example@example.com become examplexxxxxxx i code like this but it did not work : String input="$!email"; String output = input.replaceAll("@$", "x"); System.out.println(output); Please help

Member Avatar for celinsmith111
0
88
Member Avatar for FaisalSarfraz

Hi all I have a piece of program in which i am taking input from another jframe and then using that input i am trying to show results from RDF/XML file, now the issue is that i am trying to convert that input(which is obviouslyin string) to Property datatype of …

0
133
Member Avatar for Bhavya scripted

hey all I was watching a tutorial on java game development.In that video,the guy was making a window a on the screen,then making an oval,then moving it. His code worked fine and i am 100% sure that my code is similar to his(i checked it a few times). What my …

Member Avatar for Ezzaral
0
319
Member Avatar for atabulwaire.john

Am doing a project that involves exchanging sending sms via a website. Am told i can achieve this via sms gateway. Can i get some sample code please?

Member Avatar for JeffGrigg
0
61
Member Avatar for Bhavya scripted

hey all..i followed "thenewboston" tutorials in java for game development(3-7).I am having trouble in loading an image on the screen..i try this code: bg = ImageIcon("C://TEST///Test.jpeg").getImage(); pic = ImageIcon("C://TEST///FACE.png").getImage(); this is the same code as his and i have made all the pictures in the TEST folder in c drive. …

Member Avatar for stultuske
0
217
Member Avatar for Violet_82

Hi I would be really interested to understand how exactly the toString() method works. I have read quite a bit about it, that it returns the string representation of an object, that the default one can be overridden with @Override etc etc. Let's have a look at some examples: @Override …

Member Avatar for Violet_82
1
224
Member Avatar for phani1092

immutable objects cannot be altered,whereas in line 3 x contains xyzabc. I want to know what exactly is happening with the string object. Thanks in advance

Member Avatar for JamesCherrill
0
324
Member Avatar for bhallarahul

Hi I want create a program in which folder(level 0) is containing number of subfolder(Level 1) and each folder(subfolder Level 1) contain file number of file and subFolder (level 2). now i want to copy folder(level 0) but from subfolder (level1) want sepecfic file and subfolder(level 2) rest want to …

Member Avatar for JamesCherrill
0
173
Member Avatar for ceelos1974

well I need some guidance to how I can do what I wan't done as I haven't gotten any idea I got the GUI made, now I have these items I wan't the player to be able to paste onto the empty space (were there are no GUI) how can …

Member Avatar for ceelos1974
0
225
Member Avatar for bhallarahul

hi I have method which accept file and want to compare with string for the above mention reason i did System.out.println(targetFolder.getAbsoluteFile().equals(listPropertyValue[1]/*which is a string */)+"\n"+targetFolder.getAbsoluteFile()+"\n"+listPropertyValue[1]); the value of listPropertyValue[1] and targetFolder.getAbsoluteFile() same value but it gives false. Please tell me where i am wrong Thnks

Member Avatar for bhallarahul
0
109
Member Avatar for Keaselstein

Hi guys, i am working on a Project about mobile Navigation on a lego Mindstorms Robot but i am stuck right now. I get this error:"The method MinDistanceNode() is undefined for the type ArrayList<Node>" I have four different Classes. The problem is probablyin "DijkstraAlgorithm" or in the Method "minDistanceNode" which …

Member Avatar for jalpesh_007
0
7K
Member Avatar for Ralphael

I have a project I am working on and it involves java graphics which I am a novice at, I have uploaded the description of the project and the image of how it should look like, now i am having problems implementing the part of introducing the virus and drug …

Member Avatar for robin.litsetorp
0
242
Member Avatar for JamesCherrill

I'm suffering from a complete brainfreeze here; maybe some NetBeans user can un-block me without making me look like a complete idiot? Thanks. I usually use Eclipse, but for this particular project it has to be NetBeans. I have two projects defined. One is the main project with packages - …

Member Avatar for JamesCherrill
0
278
Member Avatar for game06

i want to use JavaFunctions.java into login.jsp file. my plan is to store all my java functions in one file and i can use them later. ex check for string or number etc functions... first my folder tree. webside_01 >.settings >build >src >newServlet JavaFunctions.java website_01_Servlet.java >WebContent >META-INF >WEB-INF index.jsp login.jsp …

Member Avatar for stultuske
0
305
Member Avatar for peymankop

Hi...! I'm working on a notepad project,in save or saveas option just like the real notepad i want that the file automaticly save as .txt file if in the option below i choose "all files" it saves a file and if i choose "text documnet" save as *.txt file how …

Member Avatar for bguild
0
128

The End.