Raziel Shabazz

Greenhorn
+ Follow
since Aug 23, 2013
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Raziel Shabazz

I think I crashed my code. I was getting the GUI dialog box now I get nothing. Any wise Guru's up to helping me out?

7 years ago
The steps you listed is what I'm looking for. Do you have examples I can read. When the applications starts it do need to read my text file
7 years ago
Do anyone have any ideas how I can complete my code for when a user login using their username/password it is compared to a text file with pre-listed name/password? If their name is not in the file it error out and the box closes.


7 years ago
I want to display the output as part of the GUI, I need to create an appropriate GUI component to hold the lyrics and use its setText() method for display. I hope that is better clarity, I been trying to read as many Java books as I can on the weekend but still is lost on how to implement it.
7 years ago
These are the errors I'm getting in the window below

Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: javax.swing.JButton.usertext
at thegame.TheGame$buttonButtonHandler.actionPerformed(TheGame.java:48)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
BUILD SUCCESSFUL (total time: 5 seconds)
7 years ago
Probably so maybe I need Java for dummies book

7 years ago
I made the change now my program is not giving me the GUI I was at least getting. Getting the error "No Main class found"

7 years ago
Got it! Thanks! Hopefully this will make it more readable.
7 years ago
What are code tags? Is that an explanation of what each section of the code does?

What need to be done is when the user enter a name or their name, my program should take the name and create a output display like this

Shirley!
Shirley, Shirley bo Birley Bonana fanna fo Firley
Fee fy mo Mirley, Shirley!.

I need to know how to make my generate lyric button perform the task above. I have the needed code commented out but don't know how to link the two.
7 years ago
I am getting back into Java after a long break, like 5 years and I'm trying to write a java gui program that will take a person name and turn it into the name game lyrics with buttons to generate the lyrics and clear the name. I have most of it done just need to know how I can finish the rest or where I can go to get ideas on what to do.

7 years ago