Gunjan Jadon

Ranch Hand
+ Follow
since Jul 26, 2016
Merit badge: grant badges
For More
India
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
42
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Gunjan Jadon

Hello everyone,

In this screenshot, I used a GridView. In this GridView, i used a table using SqlDataSource. There is a column(Latest_Posts) in my table. These are database entries. I just want to make these entries as a Hyperlink. I am using Visual studio. Can anyone please tell me how can i do this using ASP.NET?
6 years ago
hello all,

How QA (quality assurance) can add a value to an agile team?

thank you,
Gunjan
Hello everyone,

Why we need "EUCALYPTUS" in cloud computing? Please explain in details.

Thank you,
Gunjan
7 years ago

Sean Corfield wrote:In general 'map' is appropriate when you want to take a collection of items and produce a new collection with each item transformed in a particular way. The input and output collections will have the same length and each successive element of the output collection corresponds to the successive elements of the input collection.

If you want to produce a result that has a different shape to the input collection, you would use 'reduce' or 'fold' (different languages call them different things).

Does that help?



Thanks for reply Sean. Actually I have a code. I am not able to get why we are using map function in this code?

hello,
can anyone tell me when we should use map function?

Regards,
Gunjan

Henry Wong wrote:

Liutauras Vilda wrote:you may find some useful information here (<-- link to click on).



From that link, read the two links about running a book promotion -- here and here. The first one is mainly for the publisher and the second one is for the author. And of course, the author should read both if the book is self published.

Also, look here for availability. Right now, only January is available. More slots will definitely open after the holidays.

Anyway, once the publisher is ready, then send the requested information to  bookpromotion AT javaranch DOT com, and a member of the promo staff will help coordinate/process/schedule the promotion.

Hope this helps,
Henry


Thank you so much Henry and also thank to Liutauras Vilda . I got all the information regarding Book Promotion.

Gunjan
7 years ago
Hello,
Could anybody explain me how cloud actually works?
Thanks in advance.
Regards,
Gunjan
7 years ago

Henry Wong wrote:
First, let me move this topic to the ranch office forum, as this has nothing to do with Swing.


As for your original question, I am pretty sure that the November 15 week is no longer available (as that should have already started). Anyway, are you looking to run a promotion?

Henry



Yess I am looking to run a promotion.
7 years ago

Henry Wong wrote:
What book promotion are you referring to? Are you talking about the ones hosted by the ranch?

Henry



Yess Henry, I am talking about this-
https://coderanch.com/wiki/660305/Book-Promotions-Schedule

Regards,
Gunjan
7 years ago
Hello,

What should I do for Book Promotion at 15th November 2016?
Thanks in Advance.

Regards,
Gunjan
7 years ago

Rob Camick wrote:@Gunjan,

You should NOT be hardcoding a directory structure to load files. You can not guarantee the same structure will exist on all computers.

The better way is to use the "getResource()" method.

Read the section from the Swing tutorial on How to Use Icons for more information.



Hello Rob Camick,
Actually I faced same problem and I solved out myself using this. But you are right. This is not the correct way. Now I have to use "getResource()".
Thank you
7 years ago

Rob Camick wrote:@Gunjan,

You should NOT be hardcoding a directory structure to load files. You can not guarantee the same structure will exist on all computers.

The better way is to use the "getResource()" method.

Read the section from the Swing tutorial on How to Use Icons for more information.




Hello Rob Camick,
Actually I faced same problem and I solved out myself using this. But you are right. This is not the correct way. Now I have to use "getResource()".
Thank you
7 years ago

Tapan Agarwal wrote:

francois lebel wrote:OK it's right, I FOUND THE AWNSER MYSELF

THANK YOU!!!




Hi Francois,

I have been facing the same issue.



Error is
Exception in thread "main" java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at org.taps.cm.View.main(View.java:27)

Any idea whats wrong here.


Hello Tapan Agarwal,
I am not sure, May be this will help you. You can link it with your reuirement.
you can use this-

Note: C:\\Users\\ranig\\My\\spaceinvaders\\ball.png is the whole path of ball.png image.

instead of this:

7 years ago

James Simpson wrote:Alright I took a look at the link and I rewrote the code.




Its still giving me a NullPointerException except this time its at line 22.



You can also use this-


Note: C:\\Users\\ranig\\My\\spaceinvaders\\ball.png is the whole path of ball.png image.

instead of this:
7 years ago