78 Posted Topics
Re: [QUOTE]Please show us what you have so far.[/QUOTE] He meant code. We must see that you put some work in this assignment. Sorry, daniweb doesn't allow spoon-fedding. And it's a good thing. | |
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 … | |
Re: Keep an eye for WePad. It will be linux based. | |
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 … | |
Re: The facts are true and i don't deny them but i'll have to disagree on your opinion that it's not a big thing that that happens. Children are vulnerable, mentally. They can not discern for them selves what is good or bad. By the fact that they get exposed to … | |
Re: It can happen and even with a backup. I once wanted to install a licensed winXP on my uncles laptop. I said that he needs to backup his data before that. After that he came over my house to do that...he said all his files are backed up. I started … | |
Re: That's so pathetic and sad that such a potential person went down on prostitution just for money/pleasure. I feel sorry/sad for her! She has lost almost any sight of virtue. I hope she'll regret it because it is a bad thing. (and to all who say it's nothing wrong: you're … | |
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 … | |
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 … | |
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 … | |
Re: [URL="http://richardbowles.tripod.com/cpp/projects/menu.htm"]http://richardbowles.tripod.com/cpp/projects/menu.htm[/URL] [URL="http://www.grandgent.com/tom/programming.htm"]http://www.grandgent.com/tom/programming.htm[/URL] [URL="http://www-math.univ-poitiers.fr/~maavl/myprojects.html"]http://www-math.univ-poitiers.fr/~maavl/myprojects.html[/URL] But the best of all [URL="http://www.google.com/search?hl=en&safe=active&client=firefox-a&rls=com.ubuntu%3Aen-US%3Aunofficial&hs=e3i&q=programming+projects&cts=1253459104890&aq=f&oq=&aqi=g10"]www.google.com[/URL] | |
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 … | |
Re: It's like proving that "The tree is green and green is an adjective then tree is an adjective" just because someone else said [QUOTE] Socrate is human and humans are mortal than Socrate is mortal[/QUOTE] That girl in the video twisted the formulas/statements the way she wanted, not the way … | |
Re: In other words you pay a lot of money over and over again for phone that is PLANNED to be obsolete after a year or two so they can brag about the iphone 5 that it's the best thing ever happened (best plan for obsoleteness that ever happened,that is ). … | |
Re: I'm sorry, i didn't understood what you meant by "[I]and I'm afraid it's not even going to be touched by the XXX domain.[/I]" Did you meant that this will not help filtering a porn link domain because some my not want a .XXX ? | |
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 … | |
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 … | |
Re: Make a document over that file, then just write: [code]doc.insertString(offset,"The String",null)[/code]. The easiest way to do : [code] JTextArea text = new JTextArea(); text.setText("Your string"); AbstractDocument doc = text.getDocument(); doc.insertString(offset,"The String",null)[/code] Offset is the position from which to start. | |
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] | |
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 … | |
Re: Hm it dows act strange. I done a quick basic test. When the setVisible(false) is executed it dissapears and the second button (that exec the function) comes in first's button place. [code]$ java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1) OpenJDK Client VM (build 14.0-b16, mixed mode, … | |
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 … | |
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(); … | |
Re: I thought it would be a tech story. Still funny :). | |
Re: I don't get it. What is the problem after all? Google ditches windows... hooray! Google needs to make up... ok. | |
Re: Does it work with iphone 3g? | |
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! | |
Re: Hm you could try the following [code=java]String text; text = textPane.getText(); text += "\nAppended text." textPane.setText(text);[/code] But i think that there is a better way to do it. | |
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 … | |
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 … | |
Re: I do hope it's going to remain free. It will be very sad if they'll change that! :'( ...else i don't know what to say... | |
Re: I understand your enthusiasm but IMO it won't really work that good as you may like. 1. 80% (or more) are conservative in the IT world. 'Cause it's not so transparent. 2. They will not have trust. Ex: I tried to convince my gf on accessing her computer(to fix errors) … | |
Hello, i made a basic java desktop application. After building the interface in the form, i compiled it and it worked perfectly. But after i added an event to a button (on click) my app won't close. I use the X button from the title bar, or ctrl+q from the … | |
I'm trying to do the following: [code=java] private void butonActionPerformed(java.awt.event.ActionEvent evt) { buton.setLocation(500, 500); } [/code] but it doesn't do anything. Please help. | |
Hello, i want to understand these methods as a programmer. The only difference i know is that "get" sends the parameters via the url while "post" does not. But what actually happens in the source code? How can i implement it? I found some source code concerning the post method … | |
Re: I made a web site in java this summer that interacts with a database. I called it bookshelf. You can develop this idea to a more complex one but this is probably too simple for a final degree. You decide. | |
hello, i'm trying desperately to recover my c++ knowledge. I haven't done c++ for a year and now i'm facing some problems. Please help. I. How to type cast this: [code=c++] class A { virtual c Read(); } class B: public A { public c Read(){ D d ; return … | |
Re: Where can i find this "trivial SQL injection vulnerability" documented? I want to read about it. | |
Re: I tried Win7, the beta version. I can say that it works pretty good! I Installed some programs, played some games... it all seems to work properly. Though i do know that it has some incompatibility issues with some software/applications. For that they added the XP mode... which is not … | |
Re: I'll give you a c++ equivalent : [code] for(i=0;i<100;i++){ array100[i]= array1000[random(1000)]; } [/code] All you need now is to find an equivalent random function in java ;) | |
My colors are becoming more pink/violet ? Does anyone know what is the problem? I tried to make a screenshot but on other displays the colors are as they should be. I tried moving the wires here and there but the same things remains. I have a samsung 940NW, Geforce … | |
Hey guys. I am trying to print different messages in dependency of what char you press. In my case i use, F1,F2,F3, escape. The problem is that the first message is printed again after a char input is read, which it shouldn't! This is my code, please tell me where … | |
Hello everybody. I wanted to ask what does exactly Win7 do with their so called xp mode. As i have seen from various clips, this "mode" is actually just a virtual machine that runs win XP. Am i right? If the answer is yes then how come not all processor … | |
Re: I believe you meant how to create a static vector. If you want to make a class that will have a vector, which values won't change when creating instances of the class (namely objects) then use the [I]static[/I] keyword. [code="c++"] class A{ static vector v } [/code] Btw, try googling … | |
Re: Well, sorry to disappoint you but acer is not the best choice. My girlfriend bought a laptop from bestbuy(USA) that blanked(the screen suddenly turned black) every once in a while. She has to restart the whole computer every time. It has past 2 years since she bought it and has … | |
hello people. I am doing an "os" (small) that's mainly a menu. It just prints some strings and highlights some words when you pres 1,2 or 3. And by pressing enter while a option is selected, it has to do something. The problem is that the program gets stuck in … | |
Hello. I have an assignment to make a procedure that will end a task. The manual from the university isn't quite clear about how this works. So mainly i have this problem: How does a procedure end a working task? 1) Does the bios call the procedure ? or, 2) … | |
Hello everybody. I'm trying to get the current directory, save it, changing the current dir, then coming back to the previous one. My code so far [code=asm] TITLE ep1_7 .MODEL SMALL .STACK 10h .DATA msg DB 'Current directory:',0h msg_l equ $-msg buff db 64 dup('$') ;f_handle dw 1 dup(?) .CODE … | |
Re: I am using OS7 and linux, dual-boot. The os Seven is looking really great, and runs well! Though i still prefer my linux distro. Ubuntu is more stable and faster vs Seven. OS Seven did a big jump comparing to Vista. It uses 300~400 MB on start-up and boots fast. … | |
Re: 30 for me. It isn't that much but i would wish more control of me while surfing the web. Sometimes i spend time more than i should, or having one of those moments like "one more minute" ). You are an average on-line user. You may surf the Web a … |
The End.