Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Tags
Member Avatar for ethio
Member Avatar for ethio

Hi all, I am trying to display some data from text file with an array. [CODE]$filename = "comments.txt"; $filepointer = fopen($filename,"r"); $myarray = file ($filename); for ($mycount = 0; $mycount < count($myarray); $mycount++ ) { $aline = $myarray[$mycount]; print $aline ." \n"; } fclose ($filepointer); If (if else statement-checks search …

Member Avatar for ethio
0
118
Member Avatar for ethio

I get an error "Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.JButton cannot be cast to javax.swing.JPasswordField at def3.password$MyActionListener.actionPerformed(password.java:103)" in the following code, what am I doing wrong? [CODE]static class MyActionListener implements ActionListener { private String userInput = "username"; private static final String passText = "password" ; JFrame frame ; MyActionListener(JFrame f){ …

Member Avatar for stultuske
0
824
Member Avatar for ethio

Need correction on my answers and description on my errors. Q1 Which of the following statement(s) is true about an abstract class? 1. An abstract class cannot have any constructors. 2. An abstract class contains only abstract methods 3. An abstract class always implements an interface [B][U]4. An abstract class …

Member Avatar for ethio
0
121
Member Avatar for ethio

Hello, I'm getting bash:is a directory message every time I want to extract a package. What is this? The file is in my downloads so I typed: /home/liveuser/Downloads tar -xfz pckg.tar.bz2 Im running Fedora 15 live CD. I've also tried su to root, and still the same.

Member Avatar for kazimierz91
0
185
Member Avatar for ethio

Hello, Im trying to store 4 rows of delimited text from a text file( abc, abc, abc, abc abc, abc... ... ...) into an array and loop each line of the array and print it, but its not going well. [code] <? $file1 = "properties.txt"; $filedata = fopen($file1,"r"); $array1 = …

Member Avatar for diafol
0
109
Member Avatar for ethio

Hello all, I'm creating a login application using swing but ive run into problems already, I need help on making the if else statement work so the background is red. Your help is very much appreciated, [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; class MyWindowListener extends WindowAdapter { public void windowClosing(WindowEvent …

Member Avatar for quuba
0
118