peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

authorsLastName, I do not see that variable passed down to AddTitle() method. If you not able to solved it, provide the whole code for this servlet

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Maybe this tutorial can help you ;)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

lol 12,000 threads means if i dont check my emails for a month i have like 500)

There goes your punishment for chatting too much ;)
You should organize your topic subscription more often, anything what is older then 1-2 weeks is past with me...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Read the article Convert Java to EXE - Why, When, When Not and How, make your opinion of what you been told and act upon it.

My opinion: stay away from EXE and use JAR

javaAddict commented: Nice article +3
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Unfortunately you did not provided in depth explanation of the problem. That was the reason for general reading...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Why you not using TitledBorder as darkang suggested? They are easy to use, see the tutorial here

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I hope that you will be able to do something with these adverts. The site looking like "cheap" forum with all of them around

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Did you managed yet the easy part of the homework, collecting the integer value from the user?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Somewhere in the process of coding OP made a mistake, the array should be either pass to getTotalValue() method, or it should be initialized inside ProductsPart2 class. It is up to OP to decide on final solution

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

It was tricky to setup
Advantages will be the speed from Apache, speed with which you can add new modules and lot more documentation then for IIS

darkagn commented: Thanks for the advice :) +3
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

That array is already created in InventoryPart2 and he just did not pass it as argument to ProdusctsPart2 getTotalValue() method...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

all the computer science students have electrical engineering classes

Maybe at your university, however in the UK electronic engineering is different field and the students are touched some basic programming

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I found installation under IIS to be tricky, I would rather run Apache

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Read it as the string and then parse it to integer

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Yes if you develop one by your self and must be better then free available

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Well I will considerate my previous post as waste of my precious time as you did not even commented on suggested topic and rather went on your personal rant about us not helping you.
Good luck with your search.

PS: It will not help other undergraduates as they will simple create new post to just get "original" for their own project. I think I'm entitled to this statement after 4 years with the community...

Ezzaral commented: Yes, may as well save your breath here. The poster just doesn't get it. +12
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I don't think you 're helpin at all

Your own arrogance is making difficult to deal with this.

  1. As previously stated you should search forum for suggestions as many made and discussed, we are not "IDEA FACTORY" to come up with something for every lazy student
  2. Ezzaral, suggested you do something you have interest in and asked you what it would be! What you did you just fired up against him without thinking.
  3. This forum has a one important rule "We only give homework help to those who show effort", follow it or get nothing from us. We happy to discuss any of the ideas and provide many suggestions, however it is up to you to take it forward

And for ideas try this

  • For my BSc degree I did Java application to deal with TIFF and PDF documents. Splitting or combining selected documents, page pagination and page watermarking, page count and page size count(A4, A3 etc.), pdf e-bible (variety of PDF documents link up with index file, operator has to do links from index to each document but return links can be automated) and lastly converting from TIFF to PDF or vice versa.
  • For my MSc I'm nearly done with Text-to-Speech on mobile devices for blind and visually impaired people using Java Microedition
  • Project by my friend: GUI (graphic user interface) for MySQL database maintenance done with JSP+JSF+JSTL (something along the line of phpMyAdmin, but Java based)
  • Another friend: made booking reservation system …
javaAddict commented: Very helpful to someone not willing to help himself +3
jasimp commented: more help than I would have given him +8
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Have look at this post http://www.daniweb.com/forums/thread141776.html at the end is what you looking for

stephen84s commented: Shameless self promotion yet again :P !!! +3
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You more then welcomed to browse and search forum section for variety of project topics that have been suggested over period of years since this forum started

PS: I strongly believe that Ezzaral on purpose post in same thread and same time as me... Dammit, again beaten by submission time

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Search and rescue on the way!
Making the Most of JDBC with WebRowSet - provide good explanation
Use the WebRowSet implementation with DB2 UDB - IBM example, excellent as always
java2s.com - just example, not explanation

Anyway you would find this all on your own if you used google and java+webrowset+tutorial

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

If my sleepy mind does play tricks on me, you should do it as

(File)vector.elementAt(i).getAbsolutePath()
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
  1. You may try to use Firefox rather then IE
  2. You may try to get faster connection
  3. This is open community and not focus group on one technology provider, remember that please
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Put all the variables that you wish to share in separate class, make setter and getter methods. When moving from frame to frame just pass instance of them this class as argument (same approach as passing values to method for processing)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Use ActionListener for the input text fields, this example should be helpful

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Any chance of personal messages mistaken for adverts? Anyway in the future if you get some weird pop up just make screen shot and post it here

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Awn can you provide some screen shots, because I do not see or either get any pop-ups from the site

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Are these text fields part of Frame or JFrame? Or you collect your data from sequentially following input dialogues ( JOptionPane.showInputDialog)?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

It will help if you can shed some light into what you trying to do...
As not to waste time on other things

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I see now what you mean, it is the section that I marked with red. Well you will have to make your own custom component that will consist of TextField and two buttons with action to add or take one of present number on the user click

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

JComboBox in API and in tutorials (just in case :) )

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I hate to be beaten for fastest answer :twisted:

Yes "My message" is title that you can edit

Other possible messages types
ERROR_MESSAGE
INFORMATION_MESSAGE
QUESTION_MESSAGE
PLAIN_MESSAGE

Anyway here is tutorial on How to Make Dialogs from Java Sun website

Ezzaral commented: hehe... you have to settle for silver in the answer race :P +12
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

That because the slash is the opposite direction not forward slash "/" but backward slash "\"

import javax.swing.JOptionPane;

public class NewLine
{
	public static void main(String[] args)
	{
		JOptionPane.showMessageDialog
			(null, "peter_budo"+"\nCode tags enforcer"
				,"My Message", JOptionPane.WARNING_MESSAGE);
	}
}
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
System.out.print("I will print on same line");
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Take this as unofficial warning. No torrent or wares links here welcomed. READ THE RULES! Either use trial version, or buy full version. If you can not afford it use free tools.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

It all depends on your knowledge of advanced technologies. Do you know either PHP, ASP or JSP?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I marked it now as unsolved, due to comment of shijunair.

PS: It could be even you who accidentally mark it s solved. Doesn't matter, now it is again unsolved.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

This is called favicon and it is add through link declaration of head section inside html document. To add one just do as follows

<html>
<head>
<title>Page Title</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
</head>
//Rest of the page code

If you do not have suitable icon you can generate free one for example here at www.favicon.co.uk

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Not to much you can work from this. Main point is that the provided IP address is class C, to be more precise it is private IP address class C (the range of private C class is 192.168.0.0 - 192.168.255.255) and that you pc can be find on this address in the network you assign to. However this does not give clue on what is network range (dependent on the mask), doesn't provide any data on gateway or your DNS server addressing. So in reality it is not too much.
Can you tell us what you trying to do?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Please post the XML file

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Please provide a suggestion.

Use servlets as you should be doing in first place.
Secondly we had discussion on this topic previously and very little changed. You just refuse to listen.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

5 out of 8 replies (not including my) mentioned same link, w3schools. I know repetition is good for memory but you just over done on this ...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You can have multiple beans as you already showed in other post and in same way in the session you can manipulate number of them. Nothing is stopping you from creating new instance of same bean class used for different purpose

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

For web development , dotNet is the best.....

Disagree, JAVA FOR THE WIN ! ! !

It is now open source so does not depend on Sun alone anymore.

It was always open source as that was the idea for whole time unlike Microsoft products that are still very expensive even thou they provide you these days with some "express" editions

Advantage of Java is that it can run anywhere while Microsoft stuff only runs on MS systems.

Larger community support, plenty of things for free ;) , I like security of Java and I also see Java sites running faster as most of .NET website which are poorly programmed.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Everything is by default align to the left so if you want to get in middle use centring options

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Digital brochure is very general description. Anything more specific? Any requirements?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Looks like you put too much compression. Am I right to say you created the bottom part first and then tried to add the top section?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Nope, but if you search forum there been already few attempts so maybe some of them got it right, otherwise you need check Yahoo resources

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
  1. You do not want to do this sort of thing in JSP which is for view, you need to do it in an object or method called by servlet
  2. You need to do some reading may be this can help
  3. You need to find out how Yahoo enable 3rd parties to use their email services
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Yes, the above library import will do it as long you correctly handled session request. Check this post for some guidelines. It is still not finished, but it may answer many of your questions