 |
 |
Index ‹ java-programmer
|
- Previous
- 1
- String and Char HelpI have a few questions but first here is my code.
public class CountVowels
{
public static void main(String[] args)
{
int vowel = 0;
int i;
char pos;
String String1 = "Event Handlers is dedicated to making your
event a most memorable one.";
int length = String1.length();
for(i = 0; i < length - 1 ; i++);
{
pos = String1.charAt(i);
if (pos == 'A' || pos == 'a' || pos == 'E' || pos == 'e' ||
pos == 'I' || pos == 'i' || pos == 'O' || pos == 'o' || pos == 'U' ||
pos == 'u') {
vowel += 1;
}
}
System.out.println("There are " + vowel + " vowels in this
String");
}
}
Question one is why does String1.length() return 70 when there are
only 69 chars. Second question is why does this code not count the
vowels in the String.
Thanks in advance
Robert
- 1
- china whole sale nike air force ones low cut af1 sneakers,ugg bootsDiscount Coach Sandals, Dior Sandals, Prada Sandals, Chanel Sandals,
Versace Sandals, Crocs Sandals, Women's Sandals Men's Slippers From
China
Discount, Prada Sunglasses, Discount, D&G Sunglasses, Discount,
Fendi
Sunglasses,Discount,Burberry Sunglasses Discount, Chanel Sunglasses
Discount, LVSunglasses Discount, Dior Sunglasses Discount, (G U C C
I ) Sunglasses Discount, Armani Sunglasses Discount, Versace
SunglassesDiscount, A&F Sunglasses Discount, LV Sunglasses
For more products pls visit:
http://groups.google.com/group/sci.engr.television.broadcast/browse_thread/thread/6eb9bed7645ab589/8b1c58a3a2cf0d19
- 1
- Problem with focus on JListHi!
I got 2 JLists . I doubleclick an item to display it's details.
This works fine so far, but:
When I select an item in JList1 and in JList2 the Mouselistener doesn't
know from which JList he should get the item.
So I had the idea that when you select an item in JList1 JList2 should
loose all selections.
But I just don't get it done.
any ideas?
- 2
- how to fire JTree child node eventI have a JTree where each node displays a specific view when selected.
I'd like to somehow fire an event to default the app which view to
display when opened.
How do I fire an event for a JTree as if the user clicked on a specific
child node?
- 2
- Release build in EclipseDoes anyone know how to make a lean release build with Eclipse,
binaries without debugging info ?
- 3
- help adding items to JComboBox on the flyAnyone happen to see what I might be doing wrong. I'm trying to add
items to my
JComboBox on the fly as nodes are added to the tree. It's like this ...
1. User adds tree nodes to a tree.
2. Then user can select on another node elsewhere in the tree which
renders a JComboBox
and the items just added from step 1 are listed in this box.
I have a few problems ...
- after I select my item in the combobox, the combobox stays there. If
I then select on another node, the item in the combobox doesn't get
selected. It doesn't work where I just select an item and it closes up
and that item is selected.
- sometimes I get a null pointer exception in action performed (because
getSelectedIndex() in getCellEditorValue() returns a -1) which seems to
get called while the program execution is still in the
getTreeCellEditorComponent. This confuses me. Why's it returning -1
when there are items in my combobox?
Any help much appreciated.
(I hope I've got my code snippet here w/o any typos, I had to cut it
down)
----
public class TreeEditor extends AbstractCellEditor implements
TreeCellEditor
{
private JComboBox myComboBox;
public TreeEditor() {
myComboBox = new JComboBox();
myComboBox.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ae) {
TreePath path = jTree.getSelectionPath();
stopCellEditing();
Integer val = (Integer) getCellEditorValue();
myComboBox.setSelectedItem(val.intValue());
((MyUserObjectInfo)nodeInfo).setName(
myComboBox.getSelectedItem().toString());
node.setUserObject(((MyUserObjectInfo) nodeInfo));
jTree.getModel().valueForPathChanged(path, nodeInfo);
}
});
}
public Object getCellEditorValue() {
return new Integer(myComboBox.getSelectedIndex());
}
public Component getTreeCellEditorComponent(JTree tree,
Object value, boolean isSelected, boolean expanded,
boolean leaf, int row) {
// find the children of this node that were recently added ...
TreeModel tModel = jTree.getModel();
Object root = tModel.getRoot();
DefaultMutableTreeNode carRoot = (DefaultMutableTreeNode)
tModel.getChild(root, 0);
String nodeName = null;
if (myComboBox.getItemCount() > 0) {
myComboBox.removeAllItems();
}
// add children of another node into this combobox.
for (Enumeration e = carRoot.children(); e.hasMoreElements();)
{
DefaultMutableTreeNode carNode =
(DefaultMutableTreeNode)e.nextElement();
Object nodeInfo = carNode.getUserObject();
nodeName = ((MyUserObjectInfo)nodeInfo).getName();
myComboBox.addItem(nodeName);
}
if (myComboBox.getItemCount() > 0) {
myComboBox.setSelectedIndex(0);
}
return myComboBox;
}
}
- 3
- Where Does the Code Go?I have a good programming practice question. Just for fun, Ive taken on a
side project that will help a teacher friend of mine work out grades. I
want a GUI interface that will store and retrieve grading info. So Im
hoping someonecan walk me through my class structure. My biggest question
regards whether or not it is good programming practice to have data objects
as members of my GUI class or if it should be done another way? I have my
main class which calls the GUI class. For now in my most basic skeleton, I
have a very simple student class, contains has a grade class. How should
these classes be arranged?
My first thought was have student a member of the GUI class. Say I have a
form with nothing more then two text fields for name and grade, and a
button. When I click the button, I want to store the the textfield data in
the student/grade classes. I can do that fine if student is a member of the
GUI class, but for some reason Im uncomfortable with this design. It seems
the GUI should be design only, no data access code in there. Eventually I
want to add database connection objects to this model for permanent student
data storage and would need to know where those would be called from as
well. So what do you guys think?
Classes:
Main
Gui
Student -> Grade
How to arrange?
Thanks
Rv5
- 4
- I want to import ProductsHi
=20
1. We can get ready to buy clients for your products. We can bring such =
people, who are searching at google for following
keywords. They are ready to buy clients and they are searching these =
products to make a purchase. If they reach at your
site at this time, chances are very great that your site can make a sale =
to them.=20
keywords:=20
exporter of india
indian exporter
exporter from india
india's exporter
exporter of abc (abc is your product name)
abc exporter
abc manufacturer
indian abc exporter
2. We also offer you a 7 Days free trial. Get your free trial at =
http://www.yesiwillbuy.com/free-trial.htm?chetna
=20
3. For any further information, please let me know. I will be happy to =
help you. You can call at my=20
US marketing phone number at +1-727-565-1339 or you may call me at India =
at +91-93122-88917.
Or you can send me direct email. I usually reply emails within few =
hours. Please send us your contact
phone number and your desired time, and we will call you to help you =
with your first order.=20
regards
Miss Chetna(Certified by GOOGLE as Certified Google Adwords =
Professional)
Suggest Your Friends to Use - FREE Trial - No Obligation 7 Days Google =
Trial -=20
Start Getting Leads within 24 Hours for Your Products/Services
http://www.yesiwillbuy.com/free-trial.htm?Chetna =20
Jan16-08
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
- 6
- Calling own-constructors inside another constructorHi all,
Inspecting some pieces of code from someone I found things like this:
class A {
private String id = "";
public A() {
super();
}
public A(String id) {
this.id = id;
}
}
class B extends A {
public B() {
this(""); <-------------------- HERE!
}
public B(String id) {
super(id);
}
}
Inside constructor B() it's calling a constructor. Could this cause some collateral or strange problems?
I know it's nonsense because id attribute it's being initialized by default to "", but I'd like to know if
also is a problem.
- 13
- Class.forname()Hello ,
I have a necessity to delete a jar file which is in the CLASSPATH.
But JVM locks it after a class.forName() call, even though the class
loaded is NOT in the JAR file I want to delete. ( I cannot remove the
JAR file from the CLASSPATH )
First of all is it possible?
Any help is appreciated
thanks in advance
- 16
- You don't know anything ...Hello John Bailo , You wrote ,
" I know when someone is bilking his customers
for c++ code whose functionality should be written in
OpenCalc macros "
You comment re-proves :
1 _ You don't know anything about
programming for the desktop .
2_ You don't know anything about my customers ,
even thought I've explained them to you
a million times .
- 16
- best struts-jsp-servlet development tool?Hello,
We are going to develop a web based application that uses Oracle 9i
database at the beckend. We started with Oracle JDeveloper 10g. It
seems fine but it fails to meet our needs at some points. Can you
recommend another tool for us?
Thanks in advance
- 16
- Java will not workI have recently bought a new computer with windows XP and
internet explorer 6. Any page that i try to access that
contains java will not load the java. I have recieved
warnings like ". . .requires a java compatible browser to
run". I have searched the security options and can find
nothing that will help.
Do i have to download anything or change any options
to get java working?
Anon.
- 16
- How to prevent the filechooser resolving symblic linksHello everybody
I am using a filechooser object to select files.
JFileChooser _fileChooser = new JFileChooser();
File[] selectedfiles = _fileChooser.getSelectedFiles();
for (int i =0 ; i < selectedfiles.length; i++) {
//path = selectedfiles[i].getCanonicalPath();
path = selectedfiles[i].getPath();
}
The _fileChooser.getSelectedFiles() returns already absolute path
names. So no matter if I call getPath or getCanocialPath I get the
abosolute path names.
But I want to display symbolic links as relative pathnames.
Is there a way to accomplish this?
Any help I will welcome.
Thanks in advance,
Zoran
- 16
- remote databaseHello!
I'm quite new to Java. I'm making an MySQL interface. So my problem is:
Can I connect to a remote mysql database without having any additional
software running on that server ?
Is JDBC part of JVM ?
I know these are silly questions, but you would help me a great deal.
Thank you!
Darko
|
| Author |
Message |
Patricia Shanahan

|
Posted: 2006-4-5 13:23:00 |
Top |
java-programmer, How to approach
Luc The Perverse wrote:
...
>
> WAIT!
>
> I think I got it (I'm not meaning to imply that you didn't help) - and I
> didn't look at anything.
>
> Let's say there are NxN squares, and there are x number of moves.
>
> I can make the square x, y be represented as an integer 0..N * N - 1
>
> So I create a 2D array [N*N][x] of longs which will represent the sum of the
> number of unique paths to the given point.
...
You got it. There is an optimization that reduces the memory cost,
but you have a dynamic programming solution to the problem. And you have
the really big savings from exponential to linear increase in time and
memory as the number of moves increases.
> Hey thanks everyone. This is more than just a single problem or some points
> on a practice problem that doesn't matter anyway. I'm learning how to do
> this, and becoming a better programmer - and that is important to me.
> Learning new abstract concepts, and having exciting revelations is actually
> (though sadly) a bit of a rarity for me.
I think, more than ever after seeing this, that you would benefit from
reading a book on algorithm design.
Patricia
|
| |
|
| |
 |
Patricia Shanahan

|
Posted: 2006-4-5 13:23:00 |
Top |
java-programmer >> How to approach
Luc The Perverse wrote:
...
>
> WAIT!
>
> I think I got it (I'm not meaning to imply that you didn't help) - and I
> didn't look at anything.
>
> Let's say there are NxN squares, and there are x number of moves.
>
> I can make the square x, y be represented as an integer 0..N * N - 1
>
> So I create a 2D array [N*N][x] of longs which will represent the sum of the
> number of unique paths to the given point.
...
You got it. There is an optimization that reduces the memory cost,
but you have a dynamic programming solution to the problem. And you have
the really big savings from exponential to linear increase in time and
memory as the number of moves increases.
> Hey thanks everyone. This is more than just a single problem or some points
> on a practice problem that doesn't matter anyway. I'm learning how to do
> this, and becoming a better programmer - and that is important to me.
> Learning new abstract concepts, and having exciting revelations is actually
> (though sadly) a bit of a rarity for me.
I think, more than ever after seeing this, that you would benefit from
reading a book on algorithm design.
Patricia
|
| |
|
| |
 |
Chris Uppal

|
Posted: 2006-4-5 18:54:00 |
Top |
java-programmer >> How to approach
Patricia Shanahan wrote:
> Generally, recursive solutions are good if there is a lot of pruning, so
> that you only have to solve some of the subproblems.
I think it could be argued that the principle benefit of a recursive
formulation is that it makes it easy(er) to see and think about options for
early pruning.
-- chris
|
| |
|
| |
 |
Chris Uppal

|
Posted: 2006-4-5 19:11:00 |
Top |
java-programmer >> How to approach
Luc The Perverse wrote:
> Except - in a way, they are all the same problem.
[I have read the rest of this thread, but here seems to be as good a place to
reply as any]
I don't think that they will typically be the same problem. It is true that
there are large classes of problems where the only known solution is one form
or another of brute force (a recursive or iterative exploration of the entire
problem space -- possibly with a bit of early pruning).
But when it comes to problems on TopCoder and the like -- i.e. essentially
/puzzles/ -- you can normally expect that there's a better solution to be
found. Otherwise it'd be boring !
So you have to look for short-cuts, or other kinds of cleverness, and that's
where the fun comes in (or frustration, depending on your success). Some
general techniques:
+ Try to formulate the problem in as many different ways as possible.
+ Consider approximations to the problem.
+ Can you find a solution to part of the problem ?
+ Have you seen something a bit similar before (NB: this
one is particularly dangerous since it can lead you
right royally up the garden path)
+ Try to produce a /proof/ that the problem isn't soluble.
Where does the attempt fail ? That's probably the key
insight.
+ Try a brute force solution of a few special cases. Are
there any patterns that give you a hint ?
+ Post it to Usenet ;-)
There's a lot of satisfaction to be had in solving such puzzles, but they are
not (normally) particularly related to the kinds of algorithm problems that
occur in real programming and design. Working on them is probably good
practise for real algorithm design (especially the for first of the above
techniques), but it's no substitute for having a basic grounding in the
algorithmic techniques that are already available (I don't mean having an
expert knowledge of all the millions of published algorithms -- just the
basics, so you can navigate the field with confidence).
Bottom line: if your aim is to get more fun from TopCoder then you have to
practice. If your aim is to be a more knowledgable designer, then buy some
books (/and/ read them ;-)
-- chris
|
| |
|
| |
 |
Chris Uppal

|
Posted: 2006-4-5 19:13:00 |
Top |
java-programmer >> How to approach
Luc The Perverse wrote:
> Learning new abstract concepts, and having exciting revelations is
> actually (though sadly) a bit of a rarity for me.
It's something of a rarity for everyone. Hence the popularity of puzzles.
-- chris
|
| |
|
| |
 |
Luc The Perverse

|
Posted: 2006-4-6 2:29:00 |
Top |
java-programmer >> How to approach
"Chris Uppal" <email***@***.com> wrote in message
news:4433a7d6$2$1168$email***@***.com...
> Luc The Perverse wrote:
>
>> Learning new abstract concepts, and having exciting revelations is
>> actually (though sadly) a bit of a rarity for me.
>
> It's something of a rarity for everyone. Hence the popularity of puzzles.
Most puzzles get learned once, and then solving them is mundane.
:)
|
| |
|
| |
 |
Monique Y. Mudama

|
Posted: 2006-4-7 3:10:00 |
Top |
java-programmer >> How to approach
On 2006-04-04, Luc The Perverse penned:
>
> I am going to look at example code from people who successfully did
> the problem. I think that is the best way to learn for this
> particular case. I have done dynamic programming before in class -
> I think my brain just needs a jump start. Plus I am almost
> completely inept at looking at other people's code and understanding
> it so the practice would be good for me.
>
I think the best way to get better at understanding other people's
code is to try to add a feature to existing code, or fix a bug in it.
My last job involved a lot of this -- coming into the tail end of the
development cycle for an extremely complex system. All of the easy
parts were implemented; I had to find a way to make the rest fit. It
could be incredibly frustrating, but I got a lot better at it.
--
monique
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
|
| |
|
| |
 |
Oliver Wong

|
Posted: 2006-4-7 3:28:00 |
Top |
java-programmer >> How to approach
"Monique Y. Mudama" <email***@***.com> wrote in message
news:email***@***.com...
> On 2006-04-04, Luc The Perverse penned:
>>
>> I am going to look at example code from people who successfully did
>> the problem. I think that is the best way to learn for this
>> particular case. I have done dynamic programming before in class -
>> I think my brain just needs a jump start. Plus I am almost
>> completely inept at looking at other people's code and understanding
>> it so the practice would be good for me.
>>
>
> I think the best way to get better at understanding other people's
> code is to try to add a feature to existing code, or fix a bug in it.
>
> My last job involved a lot of this -- coming into the tail end of the
> development cycle for an extremely complex system. All of the easy
> parts were implemented; I had to find a way to make the rest fit. It
> could be incredibly frustrating, but I got a lot better at it.
I was handed a complex Java project with almost zero documentation. I
managed to pick up large chunks of it pretty quickly simply by writing
JavaDocs for every method I encountered. I'd look at a method, and if I
could figure out what it was doing, I'd put a comment explaining what it was
doing. If I couldn't figure out what it was doing, chances are that it made
calls to other methods. So I would look at those called method calls first,
and try to document what THOSE are doing. Then, I'd go back up and now that
I know what those called methods do, I could take another stab at guessing
at what the calling method does.
Sometimes you'll find a method, write down what it does, and then ask
yourself "Why would anyone ever want THIS behaviour?" (e.g. the method is 30
lines long, and all it does is always returns false). That might be a sign
of a bug in the implementation.
- Oliver
|
| |
|
| |
 |
Roedy Green

|
Posted: 2006-4-7 5:36:00 |
Top |
java-programmer >> How to approach
On Thu, 06 Apr 2006 19:27:41 GMT, "Oliver Wong" <email***@***.com>
wrote, quoted or indirectly quoted someone who said :
> I was handed a complex Java project with almost zero documentation. I
>managed to pick up large chunks of it pretty quickly simply by writing
>JavaDocs for every method I encountered.
I have been hired several times to write JavaDoc. When I find a class
or method I can't understand, I start gradually cleaning up the code,
simplifying it, making sure my changes don't affect the actual output.
I globally rename variables to more meaningful and precise names.
Then gradually the fog clears. Often I find bugs in doing this.
Another tactic is to use a trace and just watch some code work on
typical data. Seeing the actual data and how it transforms gives you
clues on the overall intent.
Adding comments to variables about how they are used, then checking to
see if that is really true is useful. Comments on variables are much
more valuable for overall understanding that comments on procedural
code.
When people write Javadoc they are often fairly good on detail. Where
they screw up is the "obvious" big picture stuff that is very
difficult to reconstruct from code detail.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
|
| |
|
| |
 |
Monique Y. Mudama

|
Posted: 2006-4-7 5:57:00 |
Top |
java-programmer >> How to approach
On 2006-04-06, Roedy Green penned:
>
> Adding comments to variables about how they are used, then checking
> to see if that is really true is useful. Comments on variables are
> much more valuable for overall understanding that comments on
> procedural code.
>
> When people write Javadoc they are often fairly good on detail.
> Where they screw up is the "obvious" big picture stuff that is very
> difficult to reconstruct from code detail.
I find that the comments I most want are those describing "why", not
"what". "What" I can figure out, as you've described. "Why" may
never be uncovered, or not until after one or more well-meaning people
cleaned up the code that seemed so unnecessarily complex.
--
monique
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
|
| |
|
| |
 |
Thomas Weidenfeller

|
Posted: 2006-4-7 15:25:00 |
Top |
java-programmer >> How to approach
Monique Y. Mudama wrote:
> I find that the comments I most want are those describing "why", not
> "what". "What" I can figure out, as you've described. "Why" may
> never be uncovered, or not until after one or more well-meaning people
> cleaned up the code that seemed so unnecessarily complex.
Well, it is a mixture. I can point you to Sun JavaDoc where I would have
been very glad if they would have explained more "why", but also
more"what", too. E.g.
http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Toolkit.html#sync()
> public abstract void sync()
>
> Synchronizes this toolkit's graphics state. Some window systems may do buffering of graphics events.
>
> This method ensures that the display is up-to-date. It is useful for animation.
Actually, at some point in time I was thinking about creating some web
site with with the most mysterious Java 2 SE methods. That one would
have been on that site.
/Thomas
|
| |
|
| |
 |
Chris Uppal

|
Posted: 2006-4-7 15:50:00 |
Top |
java-programmer >> How to approach
Oliver Wong wrote:
> I was handed a complex Java project with almost zero documentation. I
> managed to pick up large chunks of it pretty quickly simply by writing
> JavaDocs for every method I encountered. I'd look at a method, and if I
> could figure out what it was doing, I'd put a comment explaining what it
> was doing.
Suggests an interesting idea for IDEs (or similar). The ability to add notes
to existing code without changing that code. Notes could be public (shared
with the team/world) or private; permanent or ephemeral. Categories might be
useful too.
I know there are similar systems for anotating websites, I wonder if anyone's
thought of using one of them to improve Sun's API documententation...
-- chris
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- javap: fully qualified names for "new" statementsHello,
I'm using javap for my project.
Basically, what I'm interested in are the "new", "newarray" and
"anewarray" statements.
However, javap only outputs things like:
new #10; //class StringBuffer
but does not give me the fully qualified name.
Is there any way I could get to know this information?
Cheers,
Sebastien Marion
- 2
- Java Parallel Port Programming with the Java Communications APII've read some messages on here regarding the Java Communications API
and the problems some have had with writing to parallel ports. I also
was puzzled by why I couldn't get this to work and then finally
figured out something that worked for me so am sharing this.
First of all, I am using Linux, downloaded the RXTX software,
downloaded the Sun x86/Solaris drivers for the Comm API (yes you need
this even for Windows/Linux), and installed per the instructions.
There were a few snags but the instructions contain much of what you
need to get past these.
The main problem I had was with properly wiring the cable from the
parallel port to drive my external circuits. You definately need some
sort of buffer chips to provide the interface from/to the parallel
port and your external devices (i.e. motors, LEDs, etc) and of course
power that circuit with an external 5V supply. That wasn't the problem
for me though. I had my data lines from the parallel port connected to
drive the external device...but it wasn't working with the Java
Communications API.
After some more tinkering, the trick was to tie the parallel port
status lines 10 & 11 (Ack and Busy) to low/ground and lines 12, 13, &
15 (paper out, select, & error) to high/5V. This should be done
through the output of a buffer chip though. I also tied lines 18-25 to
low/ground.
With that, the Java Communications API worked like a charm. The OS and
driver software must cleary require that the status input lines be
broadcasting signals that indicate the external device is OK...and by
tying the status lines mentioned to the proper signal levels...it
looks as if the external device is OK (i.e. no errors, not busy, has
paper, etc).
Previously, I had the status lines all tied to ground or had them
floating. After looking at a parallel port spec, I figured out what
the status lines are signalling to the system.
I hope this helps some of you trying to do something similar.
Regards,
Paul
/******************************************************************/
Paul J. Perrone
Assured Technologies, Inc.
Web: www.assuredtech.com
Author of various books on J2EE, Java, XML, and Web
Services: http://www.assuredtech.com/books_page.htm
Recently completed project includes the
"J2EE Developer's Handbook" geared for J2EE v1.4.
/******************************************************************/
- 3
- Timberland Boots Mid Shoes Buyer ( paypal accept ) ( www.sneaker-fan.com )Wholesale nike jordan shoes puma adidas shoes T-shirt Bags Purse
clothing Scarf Amice Watch Glasses jeans hats etc..
Website Link: http://www.nike-shoes.com.cn
welcome to ChenXi International Trade Co.,LTD. we are professional
shoes and clothes manufactory with 4 years experience located in
china.we can supply many kinds of brand shoes, we wholesale Nike
shoes,Nike Air Max shoes,Nike shox shoes. Jordan shoes,Air Force 1
shoes,Dunk shoes,Rift shoes,bapestar shoes,Timberland boots,Adidas
shoes,prada shoes,gucci shoes ,LV shoes ,Kappa shoes,Converse
shoes,Dsquared shoes,D&G shoes,Lacoste shoes,polo T-shirt,Versace
shoes,ugg boots,Bags,Purse,clothes Watch,Glasses,jeans,hats,caps
etc..in the all over the world..All our Products quality are 1:1 grade
and original box ,we are dependable wholesaler ! contact us:
http://www.nike-shoes.com.cn
Products list :
Jordans shoes
Jordan 1 shoes www.nike-shoes.com.cn
Jordan 2 shoes www.nike-shoes.com.cn
Jordan 3 shoes www.nike-shoes.com.cn
Jordan 4 shoes www.nike-shoes.com.cn
Jordan 5 shoes www.nike-shoes.com.cn
Jordan 6 shoes www.nike-shoes.com.cn
Jordan 7 shoes www.nike-shoes.com.cn
Jordan 8 shoes www.nike-shoes.com.cn
Jordan 9 shoes www.nike-shoes.com.cn
Jordan 10 shoes www.nike-shoes.com.cn
Jordan 11 shoes www.nike-shoes.com.cn
Jordan 12 shoes www.nike-shoes.com.cn
Jordan 13 shoes www.nike-shoes.com.cn
Jordan 14 shoes www.nike-shoes.com.cn
Jordan 16 shoes www.nike-shoes.com.cn
Jordan 17 shoes www.nike-shoes.com.cn
Jordan 18 shoes www.nike-shoes.com.cn
Jordan 19 shoes www.nike-shoes.com.cn
Jordan 20 shoes www.nike-shoes.com.cn
Jordan 21 shoes www.nike-shoes.com.cn
Jordan 22 shoes www.nike-shoes.com.cn
Jordan 23 shoes www.nike-shoes.com.cn
Nike Air Max
Air Max 87 shoes www.nike-shoes.com.cn
Air Max 90 shoes www.nike-shoes.com.cn
Air Max 91 shoes www.nike-shoes.com.cn
Air Max 95 shoes www.nike-shoes.com.cn
Air Max 97 shoes www.nike-shoes.com.cn
Air Max 2003 shoes www.nike-shoes.com.cn
Air Max 360 shoes www.nike-shoes.com.cn
Air Max 180 shoes www.nike-shoes.com.cn
Air Max TN shoes www.nike-shoes.com.cn
Air Max TN2 shoes www.nike-shoes.com.cn
Air Max TN3 shoes www.nike-shoes.com.cn
Air Max TN9 shoes www.nike-shoes.com.cn
Air Max TN8 shoes www.nike-shoes.com.cn
Air Max LTD shoes www.nike-shoes.com.cn
Air Max 1 id shoes www.nike-shoes.com.cn
Air Max stab 89 shoes www.nike-shoes.com.cn
Air Max 2008 shoes www.nike-shoes.com.cn
Nike Shox
Shox NZ shoes www.nike-shoes.com.cn
Shox R4 shoes www.nike-shoes.com.cn
Shox TL3 shoes www.nike-shoes.com.cn
Shox TL4 shoes www.nike-shoes.com.cn
Shox TL shoes www.nike-shoes.com.cn
Shox OZ shoes www.nike-shoes.com.cn
Shox Rival shoes www.nike-shoes.com.cn
Shox Classic shoes www.nike-shoes.com.cn
Shox Energia shoes www.nike-shoes.com.cn
Nike Air Force 1
Air Force 1 low shoes www.nike-shoes.com.cn
Air Force 1 mid shoes www.nike-shoes.com.cn
Air Force 1 high shoes www.nike-shoes.com.cn
Air Force 1 25 shoes www.nike-shoes.com.cn
Nike Dunk sb shoes www.nike-shoes.com.cn
Dunk low shoes www.nike-shoes.com.cn
Dunk high shoes www.nike-shoes.com.cn
Adidas shoes www.nike-shoes.com.cn
Adidas Running shoes www.nike-shoes.com.cn
Adidas 35 year shoes www.nike-shoes.com.cn
Adidas City shoes www.nike-shoes.com.cn
Adidas Goodyear shoes www.nike-shoes.com.cn
Adidas NBA shoes www.nike-shoes.com.cn
Adidas Y-3 shoes www.nike-shoes.com.cn
Adidas country shoes www.nike-shoes.com.cn
T-MAC shoes www.nike-shoes.com.cn
Rift shoes www.nike-shoes.com.cn
BapeStar shoes www.nike-shoes.com.cn
Football shoes www.nike-shoes.com.cn
Timberland boots shoes www.nike-shoes.com.cn
Hardaway shoes www.nike-shoes.com.cn
James shoes www.nike-shoes.com.cn
Puma shoes www.nike-shoes.com.cn
Prada shoes www.nike-shoes.com.cn
Prada low shoes www.nike-shoes.com.cn
Prada high shoes www.nike-shoes.com.cn
Dsquared shoes www.nike-shoes.com.cn
Gucci shoes www.nike-shoes.com.cn
Gucci low shoes www.nike-shoes.com.cn
Gucci high shoes www.nike-shoes.com.cn
LV shoes www.nike-shoes.com.cn
Kappa shoes www.nike-shoes.com.cn
Converse shoes www.nike-shoes.com.cn
Dsquared shoes www.nike-shoes.com.cn
D&G shoes www.nike-shoes.com.cn
Lacoste shoes www.nike-shoes.com.cn
Umbro shoes www.nike-shoes.com.cn
Versace shoes www.nike-shoes.com.cn
Woman boots www.nike-shoes.com.cn
ugg boots www.nike-shoes.com.cn
Burberry shoes www.nike-shoes.com.cn
EVISU shoes www.nike-shoes.com.cn
Hogan Shoes www.nike-shoes.com.cn
Hurricane Shoes www.nike-shoes.com.cn
handbag Bags www.nike-shoes.com.cn
LV Bag www.nike-shoes.com.cn
Gucci Bag www.nike-shoes.com.cn
Prada Bag www.nike-shoes.com.cn
D&G Bag www.nike-shoes.com.cn
Leather Bag www.nike-shoes.com.cn
A&F Bag www.nike-shoes.com.cn
Juicy Bag www.nike-shoes.com.cn
Guess Bag www.nike-shoes.com.cn
Feidi Bag www.nike-shoes.com.cn
Coach Bag www.nike-shoes.com.cn
Chloe Bag www.nike-shoes.com.cn
Chanel Bag www.nike-shoes.com.cn
ugg bag www.nike-shoes.com.cn
Burberry bag www.nike-shoes.com.cn
Dooney&Bourke bag www.nike-shoes.com.cn
Jimmy Choo bag www.nike-shoes.com.cn
Dior bag www.nike-shoes.com.cn
Purse
CHANEL Purse www.nike-shoes.com.cn
COACH Purse www.nike-shoes.com.cn
Else Purse www.nike-shoes.com.cn
GUCCI Purse www.nike-shoes.com.cn
LV Purse www.nike-shoes.com.cn
man purse www.nike-shoes.com.cn
Strap & Belts
BAPE Belts www.nike-shoes.com.cn
BOSS Belts www.nike-shoes.com.cn
CHANEL Belts www.nike-shoes.com.cn
D&G Belts www.nike-shoes.com.cn
GIORGIO ARMANI Belts www.nike-shoes.com.cn
GUCCI Belts www.nike-shoes.com.cn
LV Belts www.nike-shoes.com.cn
Glasses
ARMANI Glasses www.nike-shoes.com.cn
BURBERRY Glasses www.nike-shoes.com.cn
BVLGARI Glasses www.nike-shoes.com.cn
Ray.Ban Glasses www.nike-shoes.com.cn
VERSACE Glasses www.nike-shoes.com.cn
Prada Glasses www.nike-shoes.com.cn
OKEY Glasses www.nike-shoes.com.cn
LV Glasses www.nike-shoes.com.cn
HERMES Glasses www.nike-shoes.com.cn
EL.FERROL Glasses www.nike-shoes.com.cn
DIOR Glasses www.nike-shoes.com.cn
D&G Glasses www.nike-shoes.com.cn
GUCCI Glasses www.nike-shoes.com.cn
CHANEL Glasses www.nike-shoes.com.cn
CS Glasses www.nike-shoes.com.cn
CARTIER Glasses www.nike-shoes.com.cn
Watch
Rolex Watch www.nike-shoes.com.cn
clothing
10 DEEP clothing www.nike-shoes.com.cn
A&F clothing www.nike-shoes.com.cn
Abercrombie&Fitch clothing www.nike-shoes.com.cn
Abercrombie & Fitch clothing www.nike-shoes.com.cn
ADICOLOR clothing www.nike-shoes.com.cn
ADIDAS clothing www.nike-shoes.com.cn
AK clothing www.nike-shoes.com.cn
ARMANI T-shirt www.nike-shoes.com.cn
ARMANI Sweater www.nike-shoes.com.cn
polo Sweater www.nike-shoes.com.cn
Artful dodger clothing www.nike-shoes.com.cn
BAPE clothing www.nike-shoes.com.cn
BBC clothing www.nike-shoes.com.cn
CLH clothing www.nike-shoes.com.cn
COOGI clothing www.nike-shoes.com.cn
D&G clothing www.nike-shoes.com.cn
DSQUARED clothing www.nike-shoes.com.cn
ED clothing www.nike-shoes.com.cn
HARDY clothing www.nike-shoes.com.cn
EVISU clothing www.nike-shoes.com.cn
EVS clothing www.nike-shoes.com.cn
GGG clothing www.nike-shoes.com.cn
G-STAR clothing www.nike-shoes.com.cn
LACOSTE T-shirt clothing www.nike-shoes.com.cn
Lacoste Sweater www.nike-shoes.com.cn
LRG clothing www.nike-shoes.com.cn
NY clothing www.nike-shoes.com.cn
O&L clothing www.nike-shoes.com.cn
POLO T-shirt 3 4 5 www.nike-shoes.com.cn
POLO T-shirt clothing www.nike-shoes.com.cn
Byrberry T-shirt www.nike-shoes.com.cn
UGG clothing www.nike-shoes.com.cn
Byrberry clothing www.nike-shoes.com.cn
NFL Jersey www.nike-shoes.com.cn
scarf scarves www.nike-shoes.com.cn
jeans
AFTFUL DODGER jeans www.nike-shoes.com.cn
AKA STASH HOUSE jeans www.nike-shoes.com.cn
APE jeans www.nike-shoes.com.cn
BBC jeans www.nike-shoes.com.cn
COOGI jeans www.nike-shoes.com.cn
D&G jeans www.nike-shoes.com.cn
DIESEL jeans www.nike-shoes.com.cn
ED jeans www.nike-shoes.com.cn
EVISU jeans www.nike-shoes.com.cn
Gino jeans www.nike-shoes.com.cn
G-Star jeans www.nike-shoes.com.cn
LRG jeans www.nike-shoes.com.cn
RMC jeans www.nike-shoes.com.cn
ROCK jeans www.nike-shoes.com.cn
SHMACK jeans www.nike-shoes.com.cn
TR jeans www.nike-shoes.com.cn
ugg jeans www.nike-shoes.com.cn
Armani jeans www.nike-shoes.com.cn
TRUE RELIGION jeans www.nike-shoes.com.cn
Levi's Jeans www.nike-shoes.com.cn
hat cap www.nike-shoes.com.cn
Chanel hat Cap www.nike-shoes.com.cn
D&G hat cap www.nike-shoes.com.cn
G-Star hat Cap www.nike-shoes.com.cn
Gucci hat Cap www.nike-shoes.com.cn
lv hat Cap www.nike-shoes.com.cn
POLO hat Cap www.nike-shoes.com.cn
Prada hat Cap www.nike-shoes.com.cn
PSP sp2
MP3 MP4 www.nike-shoes.com.cn
Mobile phone www.nike-shoes.com.cn
iPhone www.nike-shoes.com.cn
nokia 8800 www.nike-shoes.com.cn
nokia n95 www.nike-shoes.com.cn
nokia n93i www.nike-shoes.com.cn
nokia n73 www.nike-shoes.com.cn
memory stick www.nike-shoes.com.cn
memory strip www.nike-shoes.com.cn
Underwear www.nike-shoes.com.cn
bikini
http://www.nike-shoes.com.cn
- 4
- Automatically install java plug-inHello,
How can I automatically install (Internet explorer install dialogbox) the
java plugin from my HTML page.
Need sample code, please.
Thanks :)
- 5
- SocketServer accept() fails to work (Linux)Hello,
I have the following problem with my server appllication:
This is typical server implemented in Java, using ServerSocket object,
waiting for client to connenct on ServerSocket.accept()
method. When the client connects (socket is received from accept() method)
it is handled by the server in separate thread.
The server writes the received data to the file and then closes the socket.
The problem:
the server handles about 20 connections daily, receiving about 100kB - 1MB
of data in each connection.
However after a few days the server fails to work,
the server waits on ServerSocket.accept() (as usually), however the clients
fail to connect to the server, but the server does not see
that any client tried to connect to it, it just waits on
ServerSocket.accept().
I'm using jre1.4.2_04 on Linux - Red Hat 9
Is there some bug in java-Linux-socket implementation or in my code ?
Thanks in advance.
This is the result of system netstat (after a few clients failed to connect
to the server):
tcp 78 0 localhost:32323 localhost:2560 CLOSE_WAIT
tcp 78 0 localhost:32323 localhost:2568 CLOSE_WAIT
tcp 78 0 localhost:32323 localhost:2576 CLOSE_WAIT
tcp 78 0 localhost:32323 localhost:2584 CLOSE_WAIT
tcp 78 0 localhost:32323 localhost:2340 CLOSE_WAIT
tcp 78 0 localhost:32323 localhost:2592 CLOSE_WAIT
tcp 78 0 localhost:32323 localhost:2348 CLOSE_WAIT
tcp 78 0 localhost:32323 localhost:2344 CLOSE_WAIT
tcp 78 0 localhost:32323 localhost:2356 CLOSE_WAIT
tcp 78 0 localhost:32323 localhost:2352 CLOSE_WAIT
tcp 78 0 localhost:32323 localhost:2608 CLOSE_WAIT
A snippet of the server source:
private class Server
{
private ServerSocket _serverSckt = null;
private boolean _break = false;
ServerRunnable()
{
_serverSckt= new ServerSocket(32323);
_serverSckt.setSoTimeout(2000);
}
public void exeServer()
{
try {
Socket clientSckt = null;
while (!_break)
{
try {
clientSckt = _serverSckt.accept();
} catch (SocketTimeoutException ex) {
// ok, timeout occured, while loops again
} catch (InterruptedIOException ex) {
final String sMsg = "_serverSckt Interrupred!!!
managed to transfer " + ex.bytesTransferred + " [bytes]";
_LOGGER.error(sMsg, ex);
}
if (clientSckt != null) {
getClientHandler().handleClient(clientSckt); //
handles client in separate thread
// note: clientSckt is closed by client handler
clientSckt = null;
}
}
} catch (IOException e) {
_LOGGER.error(e);
} catch (Throwable thr) {
_LOGGER.fatal(thr);
} finally {
_serverRunning = false;
try {
_serverSckt.close();
} catch (IOException e) {
Assert.catchReport(e);
}
}
}
}
- 6
- HELP got 'the code of method is exceeding 65535 limit in jaxbi have 50 elements like this:
<xsd:element name="Refer" substitutionGroup="ResultBaseSub" >
<xsd:complexType >
<xsd:complexContent>
<xsd:extension base="ResultBase">
<xsd:attribute name="Text" type="DbRef" />
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
i can divide them to smaller substituion groups, but will it help?
- 7
- RMI between Java 1.4 and Java 1.5 problemWhen attempting to RMI between a 1.4 client and a 1.5 server ( with a
1.5 interface, remote object, stubs and skeletons using the -vcompat
rmic flag ), I get the following error:
java.lang.ClassNotFoundException:
java.rmi.server.RemoteObjectInvocation
Handler (no security manager: RMI class loader disabled)
The plot thickens. The 1.4 client will connect to the 1.5 server if I
run the 1.4 client classes in a 1.5 jvm. However, when I run the 1.4
compiled classes in a 1.4 jvm I get no joy.
Any ideas anyone?
The context is this: getting a Java strored procedure in an Oracle
database running a 1.4 jvm to send "trigger" information to a java
1.5 server on a different machine.
BTW, the rmi interface is very simple. One method, no return type and
the only passed parameter is a string.
- 8
- Eclipse - problem with external tool path name.I am running Eclipse 3.2 with on Windows with WebSphere WSAdmin set up
as an external tool. WSAdmin is basically a bat file that executes a
Java program. It takes a number of parameters one of which can be a
file containing properties.
External tool: C:\IBM\WAS51\DeploymentManager\bin\wsadmin.bat
Working directory ${workspace_loc:/WSAdmin}
Arguments:
-lang jacl
-host localhost -port 8879
-f ${resource_loc} ${resource_loc:/WSAdmin/WAS5.1/propertyFiles/Aquila/
aquila.properties}
The property file name "${resource_loc:/WSAdmin/WAS5.1/propertyFiles/
Aquila/aquila.properties}" gets converted to
"C:homepatrickeclipseWSAdminCVSWSAdminWAS5.1propertyFilesAquilaquila.properties
"
Obviously the back slashes are being escaped. Is there any way I can
prevent this?
I have already tried "${resource_loc:\\WSAdmin\\WAS5.1\\propertyFiles\
\Aquila\\aquila.properties}" without success.
ERROR: file
C:homepatrickeclipseWSAdminCVSWSAdminWAS5.1propertyFilesAquilaquila.properties
does not exist.
- 9
- JApplet Structure ProblemHi,
I can't run this Japplet in a web browser. But the eclipse applet
viewer works...
I guess it's beacause we havn't implemented the methods init, start,
stop and resize.
Can you post some standard example methods?
Should we move the code from the main method in the init method?
Any help will be appreciated...
Thanks alot
Dennis
package mn;
import java.awt.BorderLayout;
import java.awt.Dimension;
import javax.swing.JApplet;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JSlider;
import javax.swing.JTextField;
public class NewJApplet extends javax.swing.JApplet {
private JPanel jPanel2;
private JPanel jPanel1;
private JPanel jPanel3;
private JPanel jPanel7;
private JLabel jLabel1;
private JLabel jLabel4;
private JPanel jPanel5;
private JLabel jLabel5;
private JTextField jTextField2;
private JSlider jSlider2;
private JPanel jPanel10;
private JLabel jLabel3;
private JPanel jPanel9;
private JCheckBox jCheckBox1;
private JPanel jPanel6;
private JPanel jPanel4;
private JSlider jSlider1;
private JLabel jLabel2;
private JButton OK;
private JTextField jTextField1;
private JButton jb1;
private JButton jb2;
{
//Set Look & Feel
try
{
javax.swing.UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
} catch(Exception e) {
e.printStackTrace();
}
}
/**
* Auto-generated main method to display this
* JApplet inside a new JFrame.
*/
public static void main(String[] args) {
JFrame frame = new JFrame();
NewJApplet inst = new NewJApplet();
// inst.setSize(500,500);
frame.getContentPane().add(inst);
//((JComponent)frame.getContentPane()).setPreferredSize(new
java.awt.Dimension(
// 500,
// 500));
// frame.setSize(500,500);
frame.pack();
// ((JComponent)frame.getContentPane()).setPreferredSize(new
java.awt.Dimension(
// 500,
// 500));
// frame.setSize(500,500);
// inst.setSize(500,500);
frame.setVisible(true);
}
public NewJApplet() {
super();
initGUI();
}
private void initGUI() {
try {
BorderLayout thisLayout = new BorderLayout();
getContentPane().setLayout(thisLayout);
//this.setSize(576, 300);
{
jPanel2 = new JPanel();
getContentPane().add(jPanel2, BorderLayout.NORTH);
//jPanel2.setPreferredSize(new java.awt.Dimension(576, 78));
}
{
jPanel1 = new JPanel();
getContentPane().add(jPanel1, BorderLayout.SOUTH);
BorderLayout jPanel1Layout = new BorderLayout();
jPanel1.setLayout(jPanel1Layout);
//jPanel1.setPreferredSize(new java.awt.Dimension(576, 103));
{
jPanel3 = new JPanel();
BorderLayout jPanel3Layout = new BorderLayout();
jPanel3.setLayout(jPanel3Layout);
//jPanel3.setPreferredSize(new java.awt.Dimension(361, 113));
{
jPanel7 = new JPanel();
jPanel7.setPreferredSize(new java.awt.Dimension(600, 35));
{
jLabel2 = new JLabel();
jPanel7.add(jLabel2);
jLabel2.setText("Signal");
jLabel2.setPreferredSize(new java.awt.Dimension(
58,
17));
}
{
jSlider1 = new JSlider();
jPanel7.add(jSlider1);
}
{
jTextField1 = new JTextField();
jPanel7.add(jTextField1);
jTextField1.setText("1000");
}
{
jLabel1 = new JLabel();
jPanel7.add(jLabel1);
jLabel1.setText("Hz");
}
{
jb1 = new JButton();
jPanel7.add(jb1);
jb1.setText("OK");
}
jPanel3.add(jPanel7, BorderLayout.NORTH);
}
{
jPanel10 = new JPanel();
//jPanel10.setPreferredSize(new java.awt.Dimension(
// 339,
// 35));
{
jLabel4 = new JLabel();
jPanel10.add(jLabel4);
jLabel4.setText("Abtastung");
jLabel4.setPreferredSize(new java.awt.Dimension(
58,
17));
}
{
jSlider2 = new JSlider();
jPanel10.add(jSlider2);
}
{
jTextField2 = new JTextField();
jPanel10.add(jTextField2);
jTextField2.setText("1000");
}
{
jLabel5 = new JLabel();
jPanel10.add(jLabel5);
jLabel5.setText("Hz");
}
{
jb1 = new JButton();
jPanel10.add(jb1);
jb1.setText("OK");
}
jPanel3.add(jPanel10, BorderLayout.SOUTH);
}
jPanel1.add(jPanel3, BorderLayout.WEST);
}
{
jPanel4 = new JPanel();
BorderLayout jPanel4Layout = new BorderLayout();
jPanel4.setLayout(jPanel4Layout);
//jPanel4.setPreferredSize(new java.awt.Dimension(186, 68));
{
jPanel6 = new JPanel();
jPanel4.add(jPanel6, BorderLayout.NORTH);
{
jCheckBox1 = new JCheckBox();
jPanel6.add(jCheckBox1);
jCheckBox1.setText("Abtastungspunkte");
}
}
{
jPanel9 = new JPanel();
jPanel4.add(jPanel9, BorderLayout.CENTER);
//jPanel9
// .setPreferredSize(new java.awt.Dimension(202, 53));
{
jLabel3 = new JLabel();
jPanel9.add(jLabel3);
jLabel3.setText("Abtasttheorem ist erfé»®lt");
}
{
OK = new JButton();
jPanel9.add(OK);
OK.setText("Reset");
}
}
{
jPanel5 = new JPanel();
jPanel4.add(jPanel5, BorderLayout.WEST);
}
jPanel1.add(jPanel4, BorderLayout.EAST);
}
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
- 10
- Shootout (startup)
>On Wed, 30 Apr 2008 08:00:38 -0700 (PDT), Isaac Gouy
<email***@***.com> wrote:
>Why don't you go through all...
startup benchmark...
http://shootout.alioth.debian.org/gp4/benchmark.php?test=hello&lang=all
Damn! C & C++ are killing java in this benchmark. Though I discovered
a trick that improves the speed somewhat and saves some face...
With n = 200 (i.e 200 startups in continuous order).
java hello
time: 23.433s
However, just adding the flag -XX:+AggressiveHeap
java -XX:+AggressiveHeap hello
time: 9.914s
that's a huge improvement.
- 11
- From JAVA to EXE without the JRE
"Emil" <email***@***.com> wrote in message
news:email***@***.com...
> I would like to find a software or a way to have all my classes in my
> application as well as the .dll that I have (from C++) installed into
> one executable.
>
> Any suggestions will be appreciated.
>
> Or, can I have the JRE encapsulated somehow, and later unzip in the
> same directory so that the program would run ?
>
> Emil
>
I think a lot of IDE's have the jre with the install package. Try doing a
search of various installers. I think a popular one is InstallAnywhere
(www.zerog.com).
- 12
- what's wrong? my first simplest java program failed..I created a test.java file in D:\j2sdk1.4.2_04\bin>
and the content:
class
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
then I compile it:
D:\j2sdk1.4.2_04\bin>javac test.java
test.java:1: <identifier> expected
class
^
test.java:8: '{' expected
^
2 errors
D:\j2sdk1.4.2_04\bin>
my book tell me it would work well, what's wrong?
--
Your fault as a Government is My failure as a Citizen.
- 13
- The Smallcap Journal vINSIDE INFO ALERT
This advisory is based on exclusive insiders/agents information. (NHVP.PK)
NHVP has provided investors with 1000% + gains during the real estate boom, and now with the sector at its bottom, is ready to provide with results yet again..
OCT 13th: Northeast Development Corp. to Receive Funding from European Investment Firm. Preliminary discussions suggest figures of -3 million with a combination of real estate and equity collateralization.
GET IN ON MONDAY NOV 6th:
at 08 cents its a STEAL
- Volume: 8,000
- Volume: + 100%
- Price: +100%
The key to any tade is buying low and selling high, WELL the REAL ESTATE market has bottomed out and time to get in is now. We specialise in calling market bottom and when it comes to REAL ESTATE THIS IS THE BOTTOM, SO GET IN FOLKS
EARLY RETIREMENT IS CALLING
EARLY RETIREMENT IS CALLING
The NTSB's update outlined factual information about the crash, but did not conclude what the probable cause of the crash was. The full board will likely vote on a ruling at a later date.
Funeral services were also scheduled over the next several days for firefighters Jess McLean, 27, of Beaumont; Daniel Hoover-Najera, 20, of San Jacinto; Mark Loutzenhiser, 43, of Idyllwild; and Pablo Cerda, 23, of Fountain Valley. A public memorial service for all five men was planned for Sunday.
Oyler was charged with five counts of murder, 11 counts of arson and 10 counts of use of an incendiary device. The charges include seven fires in June, one in July, one in September and two in October.
The National Transportation Safety Board said the wind, coupled with the pilot's inability to turn sharply, forced the aircraft away from its intended path over the East River and into the building.
- 14
- java assembler pjb[[[ Google probably will join this post to the 2003-01-03 thread of
the same name, your newsreader may be less helpful. ]]]
Kindly offline I was asked to confirm ...
Yes, instructions appear at:
http://groups.google.com/groups?threadm=2695edf1.0301031438.6fb5cd8%40posting.google.com
Yes I can fetch 48,910 bytes from:
http://members.aol.com/plforth/pjb.zip
Yes that .zip contains the compressed folder pjb/.
pjb/README.txt tells us nothing new except that I am
mailto:email***@***.com and we can click thru to pjb/cshlog.txt. In
turn, pjb/cshlog.txt suggests ..
Three steps:
--- 1) a procedure to produce the disassembly
HelloWorldAppJavaAssembler.java:
cd pjb
javac HelloWorldApp.java pjb/JavaAssembler.java
cp -ip HelloWorldApp.class HelloWorldApp.bin
java pjb.JavaAssembler HelloWorldApp
--- 2) A procedure to reassemble the disassembly:
javac HelloWorldAppJavaAssembler.java
rm HelloWorldApp.class
java HelloWorldAppJavaAssembler
--- 3) A comparison to show we have reassembled precisely the same
.class file:
diff HelloWorldApp.bin HelloWorldApp.class
Pat LaVarre
P.S. I ran this example in Mac OS X, with ships with javac installed,
even if you do not install the Developer's Disk. Linux with Java
should work identically. Windows with Java syntax for these is as
shown except `copy /-y` and `del` and `fc /b` for what here appears as
`cp -ip` and `rm` and `diff`.
- 15
- help with java assignmentWas just hoping someone could shed a bit of light on how to approach
this assignment. It would seem we have to determine the value of a in
order to determine how many times the method m() is called, but there
doesn't seem to be enough information to determine a's value. Any tips
would be greatly appreciated...
Many Thanks
For each of the following snippets of code, give the number of times
method m() is called, with a brief explanation. Assume that a and b are
nonnegative integers.
Snippet A
for (int i = a; i < a*a; ++i) {
m();
}
int i = 0; int j = a;
while (i <= j) {
++i;
m();
--j;
}
Snippet B
For this one, first we define a method m1:
public static void m1(int a) {
for (int i = 0; i <= a*a; ++i) {
m();
}
}
Now the snippet:
m1(a*a);
Snippet C
for (int i = a; i != a + b; i += 2) {
for (int j = a/2; j > 0; --j) {
for (int k = 1; k < a; ++k) {
m();
}
}
}
Snippet D
for (int i = 0; i < a; ++i) {
for (int j = 148; j < i; ++j) {
m();
}
}
|
|
|