121 Discussion / Question Topics

Remove Filter
Member Avatar for peter_budo

I bought [Iiyama XB2783HSU-B1DP](http://www.iiyama.com/gb_en/products/prolite-xb2783hsu-b1dp/) monitor. However I'm not able to connect my MacBook Pro 2015 from HDMI with [DisplayPort to HDMI](https://www.alza.co.uk/roline-displayport-hdmi-connection-shielded-2-m-d504901.htm?catid=18848641) cable. From monitor menu I am able to select DisplayPort, but monitor will fail to receive any signal from laptop. I tried to connect monitor with Asus laptop, DisplayPort …

Member Avatar for rproffitt
0
416
Member Avatar for peter_budo

Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would like it to be on topic. I hope you understand this. For these of you who would like to learn …

Member Avatar for Rajeev Kumar_1
9
3K
Member Avatar for peter_budo

List followed by code snippet does not render properly. Example * Item One * Item Two * Item Three Log.i(MainActivity.class().getSimpleName(), SOME_MESSAGE); //info Log.d(MainActivity.class().getSimpleName(), SOME_MESSAGE); //debug Log.w(MainActivity.class().getSimpleName(), SOME_MESSAGE); //warning Log.e(MainActivity.class().getSimpleName(), SOME_MESSAGE); //error

Member Avatar for Dani
3
236
Member Avatar for peter_budo

I have four JTextFields where user is allowed to enter only numbers. Question is how do I do this?

Member Avatar for JamesCherrill
0
9K
Member Avatar for peter_budo

Does anyone can recommend some application to play Blu-ray on pc? I have CyberLink PowerDVD 8 that came with optical drive, but often there is a lag (visible stop in playback). I would love if VLC player people added BR support to application, but at the moment libbluray is more …

Member Avatar for abbotbass
1
248
Member Avatar for peter_budo

I'm creating a jar file of my game to make it smaller and easier to transfer. I was able to created jar file out of my classes and include there images. Question is - how do I include txt file which is used for reading and writing?

Member Avatar for peter_budo
0
8K
Member Avatar for peter_budo

Can you please replace text fields in Edit profile for short bio and others to text area? Editing of more then 20 characters data is just impossible in current state

Member Avatar for happygeek
0
259
Member Avatar for peter_budo

Two ints and a float are in a bar. They spot an attractive double on her own. The first int walks up to her. “Hey, baby”, he says, “my VM or yours”. She slaps him and he walks back dejected. The second int walks over. “Hey, cute-stuff, can I lick …

Member Avatar for WaltP
0
142
Member Avatar for peter_budo

Can we possibly have pre-fix message to [B]Use the snippet textbox to post your working and fully tested code snippet. Do not use code tags as the snippet will automatically be Java syntax highlighted.[/B] that is showed once member switch from Discussion Thread to Code Snippet something along the line …

Member Avatar for TrustyTony
2
249
Member Avatar for peter_budo

Since we are already mentioned in [URL="https://github.com/search?q=daniweb&type=Everything&repo=&langOverride=&start_value=1"]few projects[/URL] ;) could we get official account where we may actually upload tutorials and link them in posts? That will also mean that someone will have to actively monitored or perhaps mods or selected members would be contributors.

Member Avatar for Netcode
1
300
Member Avatar for peter_budo

People did any of you come across good tutorials on hash tables??? What I got from schools is useless and teacher is not able to explain properly. Thanx for help

Member Avatar for Siddhartha_90
0
493
Member Avatar for peter_budo

For these whom may be interested in new stuff about Java 7 here is web broadcast from few days back [URL="http://www.oracle.com/us/corporate/events/java7/index.html"]Java 7 Celebration Webcats[/URL] PS: Didn't watch it yet so have no idea if any good :D

Member Avatar for jwenting
2
164
Member Avatar for peter_budo
0
86
Member Avatar for peter_budo

I'm trying to find some "common" human understandable resources in regards of memory management, beside resources from Sun/Oracle that are sort hard to digest. There are plenty of short articles and blog entries, but they mostly touch just certain aspects of this subject

0
96
Member Avatar for peter_budo

I'm trying to get hang of custom events and listeners. I found example of single event-listener, but I'm curious how to extend from single method to multiple that are related. [code=Java]public interface CountListener{ public void countEvent(int count); public void multiplyEvent(int multi); }[/code] [code=Java]public class Counter implements CountListener{ public void countEvent(int …

Member Avatar for svedrenne
0
3K
Member Avatar for peter_budo

I have file that contains Unicode characters from Latin-1 and Latin Extended A sets (link to [URL="http://unicode.org/charts/"]Unicode charts[/URL]). How do I read it so that these unicodes are converted to proper characters? I tried [code=Java] public void readFile(File file) { try { BufferedReader in = new BufferedReader(new FileReader(file)); String noneUTF; …

Member Avatar for quuba
0
4K
Member Avatar for peter_budo

1. Keep It Organized - Do not hijack old threads by posting a new question as a reply to an old one 2. Keep It Organized - Do provide evidence of having done some work yourself if posting questions from schoolwork assignments 3. [URL="http://www.daniweb.com/forums/announcement8-2.html"]We only give homework help to those …

0
108
Member Avatar for peter_budo

I have VLC running on my laptop which does happily plays CDs and movies on the local disk. However I'm not able to play DVDs. In the Preferences under Input & Codecs Settings where default disk device can be set I'm getting 2 question marks in diamond shape and the …

Member Avatar for Stefano Mtangoo
0
251
Member Avatar for peter_budo

Would be possible to create "generic" sub-forum in Databases where we can place any db related stuff which doesn't fit into any of our present options?(MySQL, MS SQL, Oracle, MS Access and FileMaker Pro, Database Desing) Having something similar to Software Development sub-forum Legacy and Other Languages. Reason: Often there …

Member Avatar for peter_budo
0
363
Member Avatar for peter_budo

Ahh, long time since I was on pposting end :D Ok here it goes. The code bellow show mobile application that takes string from user and past it on to servlet. Servlet read it add extra data on front of message and send it back to mobile device that display …

Member Avatar for peter_budo
0
245
Member Avatar for peter_budo

It was brought to my attention that Announcements like [URL="http://www.daniweb.com/forums/announcement8-2.html"]We only give homework help to those who show effort[/URL] link does not work for some people. For example javaAddict in [URL="http://www.daniweb.com/forums/post1301935.html#post1301935"]this post[/URL]. However I don't have such problem

Member Avatar for Lusiphur
0
146
Member Avatar for peter_budo

I have table something like [ID, ITEM_ID, URI, IMAGE_FILE_NAME, UPDATED_AT etc.]. I need to compare URI that can be something like /system/images/777/medium/Debrecen_-_University.jpg?1279547675 with IMAGE_FILE_NAME that is as Debrecen_-_Protestant_Great_Church.jpg Is there a way so I can provide IMAGE_FILE_NAME as sort of substring of URI and check if that substring is part …

Member Avatar for tesuji
0
393
Member Avatar for peter_budo

When I created new project I went to [I]Solution Explorer[/I] and in [I]Properties[/I] I double clicked on [I]Resources.resx[/I]. Here I clicked on [I]Add Resource[/I] and [I]Add Existing File[/I]. Selected images been added and I can use them for darg&drop on form. My problem is I need to create sort of …

Member Avatar for kkais
0
10K
Member Avatar for peter_budo

I have this long winded query [code=sql]select i.id,i.name, i.item_type_id, (select it.name from items it, relations rel, relation_types relType where it.id=rel.to_id and rel.from_id=i.id and rel.relation_type_id=relType.id and relType.name='CityCtountry') as cityCountry from items i where i.item_type_id=2;[/code] Cut the long story short, we inherited database from customer that hasn't been happy with other company, …

Member Avatar for tesuji
0
215
Member Avatar for peter_budo

There is problem with viewing menu option while in Control panel. Please attached screenshot [attach]15003[/attach] Also having start new thread button on the top rather at the bottom would be more preferable.

1
119
Member Avatar for peter_budo

I have little bizarre problem. Working in Java web development we have project that we use plenty of templates from Velocity. Where one template can refresh section of it self and display one or more templates. My problems is that in parent template I have to pop up window with …

Member Avatar for Donall
0
123
Member Avatar for peter_budo

I running my little blog on Tomcat 6 server. My hosting company allows me to set up multiple sub domains. I was trying to do for last few hours, but no luck. Having started with [code=xml] <Engine name="Catalina" defaultHost="mydomain.co.uk"> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> <Host name="mydomain.co.uk" appBase="/home/user/public_html" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Alias>www.mydomain.co.uk</Alias> …

Member Avatar for peter_budo
0
1K
Member Avatar for peter_budo

I wonder why there are different posts counts between stats showed on each post [attach]13993[/attach] and these seen on profile [attach]13994[/attach]

Member Avatar for lllllIllIlllI
0
124
Member Avatar for peter_budo

I'm looking to find out a way to drag and drop table rows between two tables. I reused jQuery example for[URL="http://jqueryui.com/demos/sortable/#portlets"] portlets[/URL], but that did not work to full satisfaction. [attach]13597[/attach] In above screen shot I added border, but that is just for illustration of the issue. Problems: [LIST=1] [*]As …

Member Avatar for peter_budo
0
606
Member Avatar for peter_budo

The aim of this thread is to gather useful information in regards of Java web development. If you know some tips and tricks, tutorials or any interesting links that has not been already mentioned in previous posts please share with us (please always check to avoid double posting). Please DO …

Member Avatar for peter_budo
4
3K
Member Avatar for peter_budo

I have installed Flash plugin for Mozilla how ever some pages containing flash will not work properly. For example[URL="http://www.bbc.co.uk/merlin/#/games/"] this game[/URL] (select Camelot Defence and Play Now) when I try to click on Play Game button it will not start (neither other 2 buttons respond). So where is the issue?

Member Avatar for toltek
0
113
Member Avatar for peter_budo

I will keep it simple. I need to list id of every element in given section. Example [code=html] <div id="leftSide"> <ul id="leftList"> <li id="item1"item 1</li> <li id="item2"item 2</li> <li id="item3"item 3</li> <li id="item4"item 4</li> <li id="item5"item 5</li> <li id="item6"item 6</li> </ul> </div> <div id="rightSide"> <ul id="rightList"> <li id="item2"item 2</li> <li …

Member Avatar for peter_budo
0
130
Member Avatar for peter_budo

I have dual boot system with Windows XP Pro and Ubuntu 9.10 on same HDD. There is and irritating issue with Creative Audigy SE where the card will work under one OS, but not on other (so either it work with XP and not Ubuntu, or vice-versa). Any suggestions?

Member Avatar for blud
0
139
Member Avatar for peter_budo

I would like to know if people would be interested in participating building similar starting thread like we have in Java section [URL="http://www.daniweb.com/forums/thread99132.html"]Starting "Java" [Java tutorials / resources / faq][/URL], but targeting Java web development. This thread would hold resources (where to get the things, configurations, basic usage and any …

Member Avatar for peter_budo
3
88
Member Avatar for peter_budo

DaniWeb Digest online copy is not available. If you click on the link from email you get message "An issue of our newsletter doesn't exist for this day." Also where can we found link for previous Digests that been previously located at the bottom of the page?

Member Avatar for peter_budo
3
213
Member Avatar for peter_budo

I need to read XML document submitted to doPost() method ( I do not want to upload it, just read in and pass for further processing). Here is a general code that I use for now to see if file been received. [code=Java] public void doPost(HttpServletRequest request, HttpServletResponse response) throws …

Member Avatar for peter_budo
1
154
Member Avatar for peter_budo

Would you consider to create daniweb group on twitter? That way you could easily make quick updates in regards of any site changes, server downtime etc. If there is already group please provide url.

Member Avatar for kaninelupus
0
160
Member Avatar for peter_budo

I'm back to start again with GBL. Application start-up layout is as desired. However as soon as I draw upon "main page view panel" with paintComponent() page view panel does overlay thumbnail panel on the left. [attach]10801[/attach] Code for main panel to group up 3 main components [code=Java]public class RottrMainPanel …

Member Avatar for peter_budo
0
159
Member Avatar for peter_budo

Currently I'm creating application to work with PDF documents, just for challenge. I want to know if there is better solution to my idea of possible approach. I broke down application GUI to four main components toolbar with image icons, jpanel for thumbnail preview, jpanel for single page view and …

Member Avatar for masijade
0
98
Member Avatar for peter_budo

Since yesterday I'm having issue to access website through Firefox. Memory usage for Firefox dramatically climb once I try to access daniweb and pages become slow accessible or non-respondent at all. I have FF 3.0.11 on Win XP SP3 Anyone else having this problem?

Member Avatar for peter_budo
0
195
Member Avatar for peter_budo

I'm looking forward to learn Core Spring and Hibernate. Which books would you recommend and some good online resources (beside their websites)?

Member Avatar for peter_budo
0
155
Member Avatar for peter_budo

I got components in layout as I wish to have them. Unfortunately 2nd row doesn't start as expected bellow first one, but directly under it (you can see portion of text draw on panel, should be visible whole). [attach]10549[/attach] I know that [LIST] [*]toolbar should have height of 60 [*]sidebar …

Member Avatar for masijade
0
890
Member Avatar for peter_budo

I'm having small issue with drawing on panel. Neither image or text appears, however background is set correctly therefore it has to be due some issue inside my paintComponent() method. [code=Java] import java.awt.Graphics; import java.awt.Color; import java.awt.Dimension; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO ; import javax.swing.JPanel; public class …

Member Avatar for peter_budo
0
157
Member Avatar for peter_budo

Last night I just finished coding of my final year project to get me BSc. Application is in Java. It does manipulate TIFF or PDF documents. You get the idea from first image [URL="http://www.peterbudo.f2s.com/edma/edma.html"]http://www.peterbudo.f2s.com/edma/edma.html[/URL] Now I need to write some 10,000 word about it :D

Member Avatar for Nick Evan
0
160
Member Avatar for peter_budo

One of my friends is trying to follow [URL="http://developer.sonyericsson.com/site/global/techsupport/tipstrickscode/java/p_post_javafile_webserver.jsp"]Sony Ericsson tutorial [/URL]on HTTP document upload from mobile device through Java Microedition. Here is an HTML example. [code=html]<form action="http://myserver/post.php" enctype ="multipart/form-data" method="post"> <input type="file" name="uploadedfile"> <input type="submit"> </form>[/code] Here is the php file receiving the posted file. [code=php]//post.php <?php $target_path = …

Member Avatar for cwarn23
0
281
Member Avatar for peter_budo

I just try to attach GIF file to a post. Server attempted or uploaded and rejected the image, but pop up window went blank. After that I seen there is a limitation in dimension of uploaded documents. Resize did the trick. Point is, after failure to upload document pop up …

Member Avatar for nav33n
0
145
Member Avatar for peter_budo

Last few days I'm having problem open daniweb page. Anybody else with same issue?

Member Avatar for blud
1
63
Member Avatar for peter_budo

[B]This is not a question just small challenge[/B] if you interest in improving provided solution and feedback for me. I just went back to some assignment I did at university and one of these been design phone book for mobile device with use of Java Microedition (JME). At the time …

Member Avatar for peter_budo
0
335
Member Avatar for peter_budo

After numerous issues with my first hosting I got new deal. Now I want to get my blog move to its new home, but I hit the wall with simple WAR deployment Here is catalina.log [code]INFO main org.apache.catalina.core.StandardService - Starting service Catalina INFO main org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache …

Member Avatar for stephen84s
0
168
Member Avatar for peter_budo

Dani would be possible to rename JSP section to Java Web Development?

Member Avatar for peter_budo
0
211

The End.