Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
54% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
3
~44.1K People Reached
Favorite Tags
java x 51
c++ x 30
jsp x 21
c x 12
Member Avatar for hobaa414

iwant to implement an elevator simulator which will emulate the behavior of a system with two working elevators.

Member Avatar for abdul.mudaser
0
1K
Member Avatar for Alex_

Hello daniweb community ! I'm finishing my second year of IT studies and the university is giving us the opportunity to engage in a project with a company. I found a good company but now i'm looking for a good project to work on. I was thinking doing something in …

Member Avatar for JamesCherrill
0
311
Member Avatar for happygeek

Facebook users have been making a lot of use of the new 'like' feature which allows users to link to webpages that they, well, like funnily enough. Not so funny when Facebook users are claiming to like a site called "101 Hottest Women in the World" which features an image …

Member Avatar for rocco88
0
454
Member Avatar for Alex_

The project (JSF 2.0.6!) executes fine, some pages load with no problem, others don't. This is the full stack trace. If there is any code needed, ask for. org.apache.el.parser.ParseException: Encountered " "}" "} "" at line 1, column 9. Was expecting: <IDENTIFIER> ... at org.apache.el.parser.ELParser.generateParseException(ELParser.java:2215) at org.apache.el.parser.ELParser.jj_consume_token(ELParser.java:2097) at org.apache.el.parser.ELParser.DotSuffix(ELParser.java:1064) at …

Member Avatar for Alex_
0
505
Member Avatar for newsguy

The media seems to have been a-buzz this week following the release of the top search terms from 14.6 million searches picked up by parental control service OnlineFamily.Norton - mainly because it 'revealed' that kids are searching for sex online. I am a parent myself, of young kids, and while …

Member Avatar for rocco88
2
956
Member Avatar for khess

Time to enter the Wayback ([URL="http://en.wikipedia.org/wiki/WABAC_machine"]WABAC[/URL]) Machine to an experience I had with a new Linux user and compare it to today's more tech savvy audience. The year was 1997 and I had settled in for the evening with my [URL="http://www.guinness.com/"]favorite beverage[/URL] and a bit of channel flipping, when I …

Member Avatar for ru60hz
0
885
Member Avatar for newsguy

It has been one of the great blogging success stories, not to mention literary mysteries. But now the true identity of the Diary of a London Call Girl blogger has been revealed, by Belle de Jour herself. The blog, based upon a secret life covering 14 months as a high …

Member Avatar for flasp
4
2K
Member Avatar for Alex_

How can this be... Another odd thing is that the error appears on the page but no trace in console This is my code [code=java] package actions; import com.opensymphony.xwork2.ActionSupport; import logic.*; import logic.organizations.Project; public class CreateProjectAction extends ActionSupport{ private Project project =null; private String message = "NULL"; public void setProject(Project …

Member Avatar for peter_budo
0
642
Member Avatar for Alex_

Hello. I am trying to make a thread pool for a server that will process incoming socket connections. The purpose is to have limited available connections at a time. I can't grasp this concept fully to implement it. Perhaps some of you can help me! Please try. Below is my …

Member Avatar for Alex_
0
342
Member Avatar for Alex_

Hello. I'm trying to serialize a class that implements Serializable and a Runnable. My class has a transient Thread object as a field that is created and started after the restoration of my class(object). This is proven possibile by a tutorial from Oracle, [URL="http://java.sun.com/developer/technicalArticles/Programming/serialization/"]here[/URL]. But i fail to compile my …

Member Avatar for Alex_
0
2K
Member Avatar for rogue005

I need ideas for a C++ [COLOR="Red"]mini [/COLOR]project. It should be complex enough to involve 4 students.

Member Avatar for alibabashaun
-1
675
Member Avatar for Alex_

Hello. This is what i'm trying to do: [code=java] public class ComputeSearch extends HttpServlet { private static final long serialVersionUID = 1L; protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { PrintWriter exit=response.getWriter(); exit.println("<%@ include file=\"GetByPath.jsp?path=1/2/5/\" %>"); } } [/code] The problem is that the server does not compile …

Member Avatar for soorajmkesavan
0
1K
Member Avatar for GrimJack

[URL="http://www.youtube.com/watch?v=C0c5yClip4o"]The stupid hurts.[/URL]

Member Avatar for GrimJack
0
157
Member Avatar for Techwriter10

Apple released [URL="http://www.apple.com/pr/library/2010/07/02appleletter.html"]a letter[/URL] this morning explaining its infamous iPhone 4 reception issues. I encourage you to read it and then come back. The letter is so bizarre to me I thought at first it was joke or a hoax like Steve Jobs' [URL="http://venturebeat.com/2010/07/01/steve-jobs-calm-down-email-is-a-hoax-says-apple/"]"Relax, It's a Only a Phone email[/URL]." …

Member Avatar for Techwriter10
0
1K
Member Avatar for GuyClapperton

Today the news has come through - some would say it's a good thing, some will be appalled - that the XXX domain has had approval from ICANN, the authority that sets things up. Personally I'm delighted, but not necessarily for the reasons you might think a 45 year old …

Member Avatar for GuyClapperton
0
204
Member Avatar for Alex_

Hi, i want to do a listener and this is what i have at the moment: [code] class MyListener extends MouseInputAdapter implements KeyListener{ @Override public void mousePressed(MouseEvent e) { if(e.getButton()==1){ out.println("MSE press "+e.BUTTON1_MASK); }else if (e.getButton()==2){ out.println("MSE press "+e.BUTTON2_MASK); }else if (e.getButton()==3){ out.println("MSE press "+e.BUTTON3_MASK); } } @Override public void …

Member Avatar for Alex_
0
159
Member Avatar for Alex_

Sending one image works, but when i repeat the cycle again it just doesn't work. my Client side code (excerpt): [code] for(int i=0;i<50;i++){//fromServer.contains("image") img = ImageIO.read(in); System.out.println("Got image."); label = new JLabel(new ImageIcon(img)); scrollPane.setViewportView(label); fromServer = reader.readLine(); }[/code]On the client side i have this output [code]Got image. Got image. Exception …

Member Avatar for NormR1
0
1K
Member Avatar for jaysean

Hello forum, I am wondering if it is possible to do a mark-up in free text by comparison with some string. Suppose I have a file with several sub-strings, one in each line. I have another file which contains the full text from where the sub-strings are generated. Is it …

Member Avatar for jaysean
0
99
Member Avatar for Alex_

I have a class that gets a JFrame as a parameter. I want to get a certain component from it and do some operations with it. Something like this: [code] class A { A (JFrame frame){ a_certain_Component jScrollPane = (a_certain_Component) frame.getThatComponent(); jScrollPane.setViewPort(new JTextPane()); } }[/code]

Member Avatar for masijade
0
200
Member Avatar for Alex_

I have tried installing and uninstalling everything i had about java, different JRE's and JDK's. These are my current settings : [code]alexandru@alex-desktop:~/Programs/eclipse_Java$ java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing) alexandru@alex-desktop:~/Programs/eclipse_Java$ echo $JAVA_HOME /usr/lib/jvm/java-6-sun-1.6.0.20 alexandru@alex-desktop:~/Programs/eclipse_Java$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun-1.6.0.20/bin …

Member Avatar for Alex_
0
557
Member Avatar for leiger

I've created a Java application and converted it into JAR format to redistribute. It works fine on Windows 7, Windows XP, SunOS and Mac OS X 10.5 ... but whenever I try to run it on Ubuntu 10.04 I run into a few problems: [LIST] [*]When running the application it …

Member Avatar for leiger
0
175
Member Avatar for Alex_

Hello. That function worked fine firstly. Then i started to change some code, but nothing essential, just changing some variables to private class fields etc. I've restarted the OS , but has same output this is my code now: [code] doc = (AbstractDocument) jTextPane1.getDocument(); FileReader theFileIO = null; char[] c …

Member Avatar for Alex_
0
104
Member Avatar for Alex_

I'm trying to make a html editor. I need to set different colors for different words... I managed to the change text's background color, but not it's foreground. Can some one help me? this is my code [code=java] public class HEditorView extends FrameView { public HEditorView(SingleFrameApplication app) { super(app); initComponents(); …

Member Avatar for Alex_
0
322
Member Avatar for khess

This post is a summary of a conversation I had the other day with an acquaintance of mine. It started out with him asking me what I do for a living and ended up with me having to choke back tears of laughter. I hope you have the same reaction …

Member Avatar for libbylab
0
791
Member Avatar for khess

OK, you two, stop fighting. These little spats of yours are getting old. A [URL="http://news.yahoo.com/s/nf/20100602/tc_nf/73685"]rumor[/URL], heard yesterday, that [URL="http://www.google.com"]Google[/URL] is not going to use [URL="http://www.microsoft.com"]Windows[/URL] internally in their company might be just that: rumor. And, a bad one at that. It's interesting to note that, while such a rumor stirs …

Member Avatar for kashcool5
0
240
Member Avatar for happygeek

Bad news for anyone with an iPhone 3GS: even if you have the latest OS, even if you have a PIN number, even if it isn't jailbroken - it can be hacked by anyone using a computer running Ubuntu Lucid Lynx. I wouldn't ordinarily reveal exactly how to hack an …

Member Avatar for ITDonNo1
1
1K
Member Avatar for Alex_

Can someone explain it to me simple what it is? I read quite a lot of articles but don't understand how to make one. Are there some rules to apply, or is it just a mental programming technique? Please and thanks in advance!

Member Avatar for mrnutty
0
100
Member Avatar for Caled

Hi, Im having a problem displaying text in JTextPane. I want to be able to append text (e.g. "Task 1 completed..") after a task is completed. But mine display the text once all the tasks are completed which is quite useless as user does not know what is going on. …

Member Avatar for Alex_
0
79
Member Avatar for Alex_

this is what i'm doing.. [code=c++]cout << "Value:" << endl; cin>>it; //it is int cout<<1; for (pos = v->begin(); pos != v->end(); pos++) { // pos is an iterator and v is a vector<int> if (*pos < it) { v2->push_back(*pos); cout << *pos << endl; } } cout<<2;[/code] This is …

Member Avatar for Alex_
0
1K
Member Avatar for Alex_

I'm trying to make the container to work with one of my classes. But i don't understand what should the overloaded operator contain. Maybe this is because i don't know the container too well... Please give me some insights. This is my class [code=C++] class Complex{ private: int re; int …

Member Avatar for mitrmkar
0
156