« first day (845 days earlier)      last day (4089 days later) » 

12:28 AM
Hello!
 
12:39 AM
hi
 
hey @Kill
 
Added a bounty to my question :-< and still cant figure out how to stop this conflict between the jar files :(
on a project pre configured from netbeans lol
 
sorry, I can't help. I don't know Hibernate and all that stuff :(
 
:-(
 
 
5 hours later…
5:46 AM
0
Q: Report using .rdlc in asp.net

Naveen BangwalI am developing a web application of accounting system. I need to develop reports through .rdlc files but when I am going to start with report wizard. Then the error arising. I have attached a print screen of error. Please check it and give answer.

 
jkhjk
 
 
3 hours later…
8:18 AM
Morning!
 
8:37 AM
Mornings..
 
Morning
 
9:24 AM
I'm writing a testclass to my quicksort implementation (or actually starting with the testclass). Is it possible to test a private metod in the quicksort class from my quicksorttest class? Because right now I am setting all methods as protected except the actual sort algorithm.
Say I would like to test my generateRandomPivots() class in Quicksort.java, is it any way to do that from QuicksortTest.java if it is declared as private?
 
 
2 hours later…
11:37 AM
@oalsing No, in fact that's one of the negative aspects of junit
It must be public before you can test a method
But you can create a public method that calls it
That's sort of the same thing, but presumably you could make it a little nicer and more "caller" friendly
 
 
1 hour later…
12:47 PM
Hello
 
@spoulson Hello
 
1:53 PM
Hey @all
 
2:11 PM
@Washu Hey :)
 
 
1 hour later…
3:12 PM
hi
 
@Michael hey
 
how are you
 
Great @Neil is helping trying to fix my messed up design :D
 
@Washu I haven't done anything yet
 
lol
Washu: Neil is helping me
Neil: What? No I'm not
 
3:19 PM
You are the first person that understands me ._. and the process, for me that is already helping a lot heh @Neil
 
For such a complicated system, it's a little sad that I'm probably the one that could help you the most and even then it's not easy
 
Yeah... I have been struggling with this for like a week already...
 
4:13 PM
@all Hola!
 
hi @appu
 
Come stai? @Michael
 
4:31 PM
appu what's that mean
@appu is it spanish?
 
Italian. It means How are you? @Michael
 
oh
 
 
3 hours later…
7:34 PM
Hey all. I'm trying to create this graphing program using loops. It takes in data for two points, X1, Y1, X2, Y2, and then plots it on a graph using loops. Here's my code so far, pastebin.com/jQSbw0GE
 
7:48 PM
Maybe just make an all purpose iteration loop, and write a bunch of if then statements to get the output?
 
hey in android. If i set a linearlayout to invisible. Is everything inside of it also set to invisible (i.e. all text, buttons and images inside of it)?
 
no
0
Q: how to invisible a Layout control in android

vnshettyi'm using following code to set "visibility=gone" for a linear layout //onCreate method //setcontentview . . . . LinearLayout rlayout1 = (LinearLayout) findViewById(R.id.readerBottomLayout); rlayout1.setVisibility(2); But the controls are still visible when a...

 
ty
 
np
I'm trying to create this graphing program using loops. It takes in data for two points, X1, Y1, X2, Y2, and then plots it on a graph using loops. Here's my code so far, pastebin.com/jQSbw0GE
using consol output
 
8:12 PM
Hi!
Is it a bad practice to not use a layout manager in a swing application?
 
8:25 PM
yes! Very bad
 
why?
 
Because if you don't use one then if you change the window size it will look terrible
 
but you can lock the window ;)
 
thats not very user friendly. Its almost always better to use a layout manager
 
@Adude11 +1
 
8:38 PM
@Adude11 But I don't think you can absolute position a button using a border layout or flow layout, can you?
 
@DemCodeLines That's the point, you should never really have any need to. The trick is to embed jpanels in jpanels, which can each have a different layout.
 
@Adude11 Oh ok, I am actually coming from VB and C# and its all about absolute positioning there. So this layout manager is a whole new thing!
 
@DemCodeLines It's quite difficult to get used to and is quite hard to do. But is very powerful when you get used to it
 
Now, I know you said to embed jpanels inside jpanels, but what would you consider to be the best layout manager?
 
The gridbag layout and spring layouts are quite powerful, but there is no 'best' one, they all serve a different layout
 
9:00 PM
I always use the vertical and flow layouts a lot
They are very basic.
Vertical layouts are like HTML <div> elements in that they expand the entire width of the window and stack on top of eachother.
Flow layouts are like <span>s in that they are lined up horizontally
 
Yeah I wouldn't normally use gridbags or springs, but they are the most powerful
 
Then there's BorderLayout, which has the north, south, east, west, center positions.
I don't think I've ever used gridbags or springs, but I am not anywhere near an expert swing developer.
 
9:21 PM
Hi, I have a jsp with the following code
<s:iterator value="TpData.vhP.actvh" var="veh" status="hellostatus">
<tr>

<s:url var="ShowInfoAction" value="%{urlInfo.actionURL}" escapeAmp="false">
<s:param name="hereInfo" value="#someclass.method"/>
<s:param name="pincode" value="againsomeclass.pinCode"/>
</s:url>

</tr>
</s:iterator>

How to i get the value from the url that is built into my action class
 
9:31 PM
@Adude11 is it possible to draw border of a jpanel of just one side (for example, just left side) ?
 
Component.setBorder(BorderFactory.createMatteBorder(0, 0, 10, 0, Color.BLACK));
 
bye
 
bye
 
9:48 PM
@Adude11 I am unable to change the width of my jpanel
JPanel jpnlSidebar = new JPanel();
		JPanel jpnlContent = new JPanel();
		jpnlSidebar.setSize(500,550);
		jpnlContent.setSize(200,550);

		jpnlSidebar.setBorder(BorderFactory.createMatteBorder(0,0,0,1,Color.BLACK));

		jfrmJPod.add(jpnlSidebar,BorderLayout.WEST);
		jfrmJPod.add(jpnlContent,BorderLayout.EAST);
 
setSize() is only used by the absolute layout. they need to be setPreferredSize(new Dimension(500, 550); This is one of the problems with layout managers, loads of them use different size methods.
 
oh boy, this is gonna be a long day
Is there a site where I can find out a list of components that I can use? For example, JLabel, JButton, JPanel, JFrame, what else
 
docs.oracle.com/javase/tutorial/uiswing/components/index.html thats probably as close as you're going to get
 
10:14 PM
@Adude11 last question, what's wrong with this code: JPanel jpnlContent = new JPanel(new BoxLayout(jfrmJPod.getContentPane(), BoxLayout.Y_AXIS));
?
nvm I got it
 
 
1 hour later…
11:23 PM
@DemCodeLines: What do you need?
 
I am having trouble showing an image
		try {
			albumart = ImageIO.read(new File("C:\\test.png"));
		}catch (IOException ioe) {}
		JLabel jlbalbumArt = new JLabel(new ImageIcon(albumart));
		jlbalbumArt.setBorder(BorderFactory.createLineBorder(Color.BLACK));
		jlbalbumArt.setPreferredSize(new Dimension(100,100));
@MooingDuck ^
 
@DemCodeLines I can look that stuff up, but I've done virtually no GUI in any language
@DemCodeLines what's the issue?
 
@MooingDuck no matter what I set the preferredsize to, it doesn't change the size of the image
 
@DemCodeLines: does this help?
 

« first day (845 days earlier)      last day (4089 days later) »