Hello to all! Please help with the question from China!!!Thanks a lot!
I am a real beginner on Java studing and I try to learn this all by myself.I had read some books translated from English format.But I dont think they were translated good enough.Sometime the meaning translated from English is totally different from what the Author want to express.So can you help to recommend some good English books for the beginner.I want to get start my studing on these books.Thanks in advance.
I used Thinking in Java 2 by Horton. I see there's an upcoming edition covering the new version 5 of Java,
http://www.amazon.com/exec/obidos/tg/detail/-/0764568744/qid=1103190687/sr=1-2/ref=sr_1_2/103-0972736-0816625?v=glance&s=books
In addition to the above I also bought The Java Programming Language by Gosling and others. It's not a tutorial. Instead it offers much in-depth information on why things are the way the are in Java. I didn't use much at first and found it quite impenetrable, but now I use it all the time especially when answering so called "I have a doubt" questions at this forum. -:) I think any serious Java developer should have a copy but not necessarily when starting out. The Horton tome will keep you busy for a while. And don't forget the on-line tutorials. If find the Swing tutorial especially valuable.
Similar Messages
-
Hello I have a problem with the iPhone from China apple store
Hello
I have a problem with the iPhone and I do not know who to turn to.
I bought an iphone 4 in the Apple Store in Shanghai, and it has a bug! I changed the regional settings to my native language, but the search in safari goes site the Google.cn.
What should I do? On this particular no one says. This is clearly a bug!
Also in my phone no youtube. I know that youtube banned in China, but I'm not in China now!
Why do not you strapped local restrictions on the location of the phone??eh...
The reason I bought the iphone in China - the price is reduced by 50% сompared to the price in Russia.
I just thought that these restrictions are useless. And Apple should remove them when you change the region ... -
hello applecare can you help with the macbook pro i did the update the last one and safari doesn't open anything .. what should i do ?
Hello John...
You may have a Safari third party add on installed that was compatible with the previous version of Safari but not 5.1. Try troubleshooting > Safari: Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
FYI... this is a user to user forum. If you can't resolve the issue, information for contacting AppleCare here. -
Hi, please help with the installation of Lightroom 4, I bought a new Mac (Apple) and I want to install a software that I have on the album cd. My new computer does not have the drives. Can I download software from Adobe? Is my license number just to be able to download the srtony adobe.
Adobe - Lightroom : For Macintosh
Hal -
Please help with the GUI quiz question!
Hi Folks,
Please help me with the code for the following GUI.
The display window of the application should have two panels at the top level (you could have multiple panels contained within a top-level panel). The first top level panel should have a grid or a border layout and should include apart from various label objects: 1) a textfield to store the info entered, 2) a combobox 3) a combobox or a list box , 4) a radio-button group , 5) a combo box 6) checkboxes for additional accessories, and 7) checkboxes .
The second top-level panel that is placed at the bottom of the window should have a submit button, a clear button and a textarea for output.
Thanks a lot.Please be a little more explicit about what you're doing, what you expect to happen, and what you actually observe.
Please post a short, concise, executable example of what you're trying to do. This does not have to be the actual code you are using. Write a small example that demonstrates your intent, and only that. Wrap the code in a class and give it a main method that runs it - if we can just copy and paste the code into a text file, compile it and run it without any changes, then we can be sure that we haven't made incorrect assumptions about how you are using it.
Post your code between [code] and [/code] tags. Cut and paste the code, rather than re-typing it (re-typing often introduces subtle errors that make your problem difficult to troubleshoot). Please preview your post when posting code.
Please assume that we only have the core API. We have no idea what SomeCustomClass is, and neither does our collective compiler.
If you have an error message, post the exact, complete error along with a full stack trace, if possible. Make sure you're not swallowing any Exceptions.
Help us help you solve your problem. -
Just trying to get help in auto lock it is not an options for (never) on 4s or new i pad 2 both are a mirror of each other it seems I have had problems with this phone from day 1 all up dates have been installed. Calling the support line is good if you get someone that is advance and that is not worried about there call time which I may have to do however I do know that this site is great help any help will be appreciated. This is my husband phone and I pad we purchased both phones @ the same time I have his older I pad he was given a new one for work which is the latest HELP please thanks. No problems with my phone or pad.
I have a Dell U3014 as well as a couple of older Dells turned up sideways as "ears".
Other than supplying the desktop "theme" (if you can call a complete lack of style along with a fair bit of inconsistency a "theme"), the OS really shouldn't be causing you to have a washed-out desktop experience. That's more a
matter of your display driver not really doing its job. What video card do you have?
FYI, one of the reasons I like Aero Glass for Win 8.1 (a 3rd party package) is that it allows me to make the desktop more pleasant to use and helps set the client areas (i.e., where work gets done) apart from the window chrome.
From what I can see, the color-management logic in Windows 8.1 is essentially unchanged from what it was in Windows 7. That there has been NO progress in this area is really a disappointment. It's an area where Microsoft has again just stopped
trying to make improvements.
If it's at all interesting to you, here's a screen grab of a REALLY cluttered up desktop. I don't normally work this way; this was an exercise to see how much I could get running. I finally gave up starting more stuff as I grew tired
and it just kept working fine...
http://Noel.ProDigitalSoftware.com/ForumPosts/Win81/BusyDesktop.png
-Noel
Detailed how-to in my eBooks:
Configure The Windows 7 "To Work" Options
Configure The Windows 8 "To Work" Options -
Please help with slicing question
I'm new to FW and to slicing. I have tried to get all of the info from tutorials and the help that I could.I'm still confused.I'm trying to produce a multi page website mockup with FW using export to CSS and Images.
I've submitted two other posts with 0 replies. I guess my questions were too broad? I've done some trial and error and tried testing with a simplified version of the multi page website mockup I'm trying to produce. See the simplified file here:
http://www.openrangeimaging.com/test-posts/slicetest01.png
The top area would be the header. The lower bar will have some nav tabs. The circle is to be a logo that if clicked on will take the user to the home page.. Below the nav bar is to be two columns with content.
I have tried different ways of slicing this but cannot get the file to export correctly as CSS and Images. I also can't seem to include the logo as a slice with a link without getting the "overlap" problem. I have been beating myself against this for some time and have not had any success. Any help or advice on where to get help or any reply at all will be most appreciated. Thanks!Great, my entire message was wiped out. Here it is again:
My comments are inline.
On 2010-10-14, at 2:16 AM, markf12 wrote:
Jim, thank you for your very helpful reply!
Honestly I wouldn't even try to directly export this design from FW to a CSS based layout. I think I'd move a lot faster by exporting the graphics from FW and building the design in DW.<<
This is what I needed to know. Being new to FW I was mistakenly assuming that I could use the Images and CSS to export a clicklable mockup that would also form the html/css basis of the 15 page site I'm designing. I thought that this was possible if only I could figure out how. I expected some pretty involved work in Dreamweaver would be needed. I now understand that for what I'm doing using the HTML and Images is what should be used. Then I develop the site in Dreamweaver using perhaps some images exported from the FW mockup, but not any html or css. Thank you for clearing that up for me! I knew i had some fundamental/core misunderstanding. The export to Images and CSS is only for very simple design.
JB - It IS possible, but you have to design the site based on certain practices. Overlapping slices is one thing to avoid.
. If you're new to Fireworks, you really want to keep things simple as you learn the process. Regardless, a solid knowledge of HTML and CSS is very important.<<
Yes I'd like to keep it simple but this is a bit of trial by fire (pun intended) on a project. I have gotten books and other tutorial type stuff on html and css. I would not call my knowledge of it solid as I am new to it. i think I get the gist of it and am determined to become proficient. The only real way to do that is to actually create something/gotta start somewhere so.......
JB - getting the "gist" isn't enough. If you do not have a solid grounding in HTML and CSS, you will likely run into trouble even IF you successfully export the design, because you will need to to edit and tweak the code once you're in DW. I'd recommend building your first sites "the old fashioned way" first, before trying to automate the process.
David Hogue has created a great series of CSS export videos on the Fireworks Dev Center. I strongly recommend watching them. Likewise Michel Bozgounov has written an excellent article on setting up a Fireworks document for CSS export:<<
I had viewed a number of Dave H's tutorials. I somehow overlooked the ones that you provided a link to. I'm going to watch them straight away. I had read the Article by Michel B. also excellent. I have also read your excellent tutorials and watched your lynda.com video training. I've gained allot from all of this.
Thanks again for your help!
JB - You're very welcome. Good luck. -
Can anyone please help with the 2.3 update in UK?
Can anyone please help? I have an unbranded x10 in the UK. PC companion constantly tells me my phone software is up to date (with android 2.1) so I cannot upgrade to 2.3. I've tried all the tips on the SE support page like deleting the database content and looking for the setting to update the phone next time it's connected which doesn't exist (very informative SE!). I'm not keen on this independent software installation through the rapidshare download, it seems full of glitches looking at the forums. http://www.sonyericsson.com/update/?lc=en&cc=gb&pid=xperiax10 This link clearly tells us the update is available through PC companion, no joy for me though. Any help is welcome.
Have a look at this and check your version number see if its listed
http://forum.xda-developers.com/showthread.php?t=1186045
As for generic roms you have probable read about custom roms
See this thread it is a stock SE rom not a custom rom and will give you just that a stock SE rom if you want
http://talk.sonyericsson.com/thread/19762 -
Possible convert to Blackberry from Palm - please help with outlook questions
I'm debating switching from a Palm Treo 800 (battery life is awful) to Blackberry Curve. I chose the Treo because of active sync with my work exchange server and ability to open Office documents.
Currently, I sync my outlook mail, tasks & calendar with work, and my contacts & notes with my home computer. So if i follow your instructions for using BIS instead of BES (my employer only provides BES service for a carrier which is not mine ...), will I be able to sync manually with a cable to my work computer for calendar & tasks and then to my home computer for contacts & notes?
I have to decide THIS WEEK if I'm going to switch from Palm to Blackberry, so please hurry! The blackberry seems like it's a lot more fun than the Palm, and your support is much more extensive and user-friendly!Ok, so if both machines are Outlook based, I would not see a problem,
You would need 2 DM programs one at work and one at home.
For work you can specify sync for tasks and calendar, for home sync contacts and notes.
Both calendars would have to be the Outlook calendar as default.
You can the have the synced BB and would have the ability to backup on both machines, or better yet, back up on one machine to eliminate confusion. In case of failure, you have a backup of ALL data.
You wouldn't have to convert anything because Outlook is fully compatible with the Desktop Manager.
I don't see a problem.
Thanks
Click Accept as Solution for posts that have solved your issue(s)!
Be sure to click Like! for those who have helped you.
Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure. -
Please help with the URL class
Hello,
I am trying to write a Java app that will take a url and download it.
I believe you can do this with the URL class but I don't understand how to. For example, if the http url location points to a picture file, how would I code the app to retrieve this picture and save it to a specified directory?
Also, is there a way that my java app could open another program, let's say Microsoft Internet Explorer?
Please be as specific as possible, thanks!You'll see below an example to download a file
private static String copyFile (String url, String nomFichier){
// construction du fichier de sortie
File outputFile = new File(repertoire + "\\fichiers\\" + nomFichier);
// si le fichier existe d�j�, il ne sert � rien de le t�l�charger !
if (outputFile.exists())
return "fichiers/" + nomFichier;
try {
HttpURLConnection connect = (HttpURLConnection)new URL(url).openConnection();
boolean connected = false;
while (!connected){
try {
connect.connect();
connected = true;
catch (java.io.IOException e1) { System.out.print("...Tentative de connection"); }
DataInputStream reader = new DataInputStream(
connect.getInputStream());
FileOutputStream out = new FileOutputStream(outputFile);
int length = 1024;
byte[] buf = new byte[length];
int offset = 0;
long offsetCourant = 0;
int nb=0;
while ((nb=reader.read(buf,offset,length))!= -1) {
out.write(buf,0,nb);
out.close();
catch (java.net.MalformedURLException e) { System.out.println("pb d'url"); }
catch (java.io.IOException e1) { System.out.println(e1.getMessage()); }
return "fichiers/" + nomFichier;
} -
Please help with the understanding of aspect ratio!!!
Hi all,
I'm trying to get my head around the 'aspect ratio' thing if anyone can help.
To give an example, I have imported footage in FCE and in the details of the file it states:
Pixel Aspect: PAL - CCIR 601
Frame size: 720 x 576
What exactly can I earn from the above information?
I gather this is not widescreen but I would like the end film to be. Do I have to 'crop' this? If so, how!?
And how do I make sure the picture looks right on a widescreen TV (so the people don't look squashed, say)?
Many thanks in advanced for the wisdom passed on!
Adam
Oh and should i be thinking about this before I'm about to import from a Mini DV cam? As in settings...
Message was edited by: Vegas SuperstarIf you check the anamorphic box on a 4:3 clip you will see some kind of distortion.
In general you choose your setup accordingly with the way your footage has been shot.
In the article you found that iDVD doesn't recognize the "anamorphic" flag that your footage can have in FCE.
Therefore your exported material must be "arranged" so that you tell iDVD you have a 16:9 movie.
When you work entirely in anamorphic 16:9 in FCE (your footage was shot in 16:9 and have the anamorphic flag on), when you export the sequence using export to quick time movie, you'll get a 720x576 PAL movie. Because iDVD will not translate the anamorphic flag, you have to manually change the movie size to 1024x576 for PAL, so that your resultant movie will be keeping the 16:9 aspect ratio.
The native widescreen doesn't use such flag and the video is already at 16:9 aspect ratio.
That's has to deal with pixel that are rectangular and not square as computer uses.
I guess someone else will be more specific and detailed on this.
Regards,
Armando. -
Please help with the sql logic
The below is going to be a record set from for a view from the FROM CLAUSE
1. Find component DOCUMENT where the document type = Square Metres (DOC.UOM_STD_ID = 'METR_MTR) If any components are found, retrieve the Document records for these components ONLY.
2. Otherwise, if no components exist with a Document type = Square Metres, look for components with a Document type of Acres (DOC.UOM_STD_ID = 'ACRE'). If found, retrieve the Space Lease records for these components ONLY.
3. Otherwise, if the Document does not have components with a type = Square Metres or Acres, look for components with the type of (DOC.UOM_STD_ID = 'PARK'). Then retrieve the departments associated with these parking components.
For Space Lease records above, retrieve the associated Org ID (SPACE.SPORG).
Return all departments where
the associated Org Type (ORG.ORGCLASS) = 'NON'
or the associated Org Type (ORG.ORGCLASS) = 'GD'
Thank youmaybe something like:
SQL> select emp.empno, emp.ename, emp.deptno
2 from emp,
3 (select case when (select 1 from emp where deptno = 10 and rownum = 1) = 1 then 1
4 when (select 2 from emp where deptno = 60 and rownum = 1) = 2 then 2
5 else 3
6 end case_col
7 from dual) d1
8 where deptno = decode(d1.case_col,1,10,
9 2,60,
10 3,70);
EMPNO ENAME DEPTNO
7839 KING 10
7782 CLARK 10
7934 MILLER 10
SQL> in you code it will be something like:
select ...
from document t1,
(select case when (select 1 from document doc where DOC.UOM_STD_ID = 'METR_MTR' and rownum = 1) = 1 then 1
when (select 1 from document doc where DOC.UOM_STD_ID = 'ACRE' and rownum = 1) = 2 then 2
else 3
end case_col
from dual) d1
where t1.uom_std_id = decode(d1.case_col,1,'METR_MTR',
2,'ACRE',
3,'PARK',
null);note: untested -
Please help with the query (INSERT RETURNING BULK COLLECT INTO)
I am trying to write a query inside the C# code where I would insert values into a table in bulk using bind variables. But I also I would like to receive a bulk collection of generated sequence number IDs for the REQUEST_ID. I am trying to use RETURNING REQUEST_ID BULK COLLECT INTO :REQUEST_IDs clause where :REQUEST_IDs is another bind variable
Here is a full query that use in the C# code
INSERT INTO REQUESTS_TBL(REQUEST_ID, CID, PROVIDER_ID, PROVIDER_NAME, REQUEST_TYPE_ID, REQUEST_METHOD_ID, SERVICE_START_DT, SERVICE_END_DT, SERVICE_LOCATION_CITY, SERVICE_LOCATION_STATE, BENEFICIARY_FIRST_NAME,
BENEFICIARY_LAST_NAME, BENEFICIARY_DOB, HICNUM, CCN, CLAIM_RECEIPT_DT, ADMISSION_DT, BILL_TYPE,
LANGUAGE_ID, CONTRACTOR_ID, PRIORITY_ID, UNIVERSE_DT, REQUEST_DT, BENEFICIARY_M_INITIAL,
ATTENDING_PROVIDER_NUMBER, BILLING_NPI, BENE_ZIP_CODE, DRG, FINAL_ALLOWED_AMT, STUDY_ID, REFERRING_NPI)
VALUES
(SQ_CDCDATA.NEXTVAL, :CIDs, :PROVIDER_IDs, :PROVIDER_NAMEs, :REQUEST_TYPE_IDs,
:REQUEST_METHOD_IDs, :SERVICE_START_DTs, :SERVICE_END_DTs, :SERVICE_LOCATION_CITYs,
:SERVICE_LOCATION_STATEs, :BENEFICIARY_FIRST_NAMEs, :BENEFICIARY_LAST_NAMEs, :BENEFICIARY_DOBs,
:HICNUMs, :CCNs, :CLAIM_RECEIPT_DTs, :ADMISSION_DTs, :BILL_TYPEs, :LANGUAGE_IDs,
:CONTRACTOR_IDs, :PRIORITY_IDs, :UNIVERSE_DTs, :REQUEST_DTs, :BENEFICIARY_M_INITIALs,
:ATTENDING_PROVIDER_NUMBERs, :BILLING_NPIs, :BENE_ZIP_CODEs, :DRGs, :FINAL_ALLOWED_AMTs,
:STUDY_IDs, :REFERRING_NPIs) RETURNING REQUEST_ID BULK COLLECT INTO :REQUEST_IDs
However, when I run this query, it gives me a strange error ORA-00925: missing INTO keyword. I am not sure what that error means since I am not missing any INTOs
Please help me resolve this error or I would appreciate a different solution
Thank youYou cannot use (and do not want to in this case) the BULK COLLECT.
create table for_testing
the_id number not null primary key,
some_data number
declare
l_return_value for_testing.the_id%type;
begin
4
insert into for_testing
the_id,
some_data
values
1,
5
returning the_id into l_return_value;
dbms_output.put_line('the return values is ' || l_return_value);
end;
20 /
the return values is 1
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.02
TUBBY_TUBBZ?Is a simple example. In the future, please use the tags to preserve formatting on your code like i have so it remains readable . -
Please help with the versioncue problem.
I know this is not the right place to post this but please, I need fast help. When I open a project in Photoshop CS3 it says "Cannot find the missing module blablabla versioncue.dll". I've searched around a little and found someone who said that 2 updates would fix it. I downloaded the updates but when I started to install it said "Can't find the product to update".
For some extra info, I just reformated comp and I've considered it might be something about missing files or something and if so, can someone add [email protected] and send to me because this is important. This is also because I have a schoolproject where Photoshop will be needed.
I'm also suspicious if I actually have the documents and settings files for CS3 since I only copied the whole files from programs when I reformated it.
Please help!>since I only copied the whole files from programs when I reformated it.
you need to do a full install from the original discs david. simply copying the files won't do it. -
Please Help with the sql below for hierarchies
Hi all.
I have a table named stg_org_hier whose data looks like this
i would like to build the hierarchy from BU,AREA,REGION,DISTRICT,TERR
There are data cyles in the data below
stg_org has this data
QTR_CD HIER_LVL_CD CURR_RDT_ID DISTRICT_RDT_ID
2007Q4 AREA E0F7B00000000 E0F7B00000000
2007Q4 BU E0F7B00000000 E0F7B00000000
2007Q4 AREA E0F7B40000088 E0F7B40000000
2007Q4 REGION N0F7B40400000 E0F7B40000000
2007Q4 REGION E0F7B40700000 E0F7B40000000
2007Q4 AREA E0F7B00000088 E0F7B00000000
2007Q4 AREA E0F7B40000000 E0F7B00000000
2007Q4 DISTRICT N0F6B40405C99 N0F7B40400000
2007Q4 REGION N0F7B40400088 N0F7B40400000
2007Q4 DISTRICT N0F7B40405M99 N0F7B40400000
2007Q4 TERR N0F1B40405201 N0F7B40405M99
they would like to see the output in the below in the below form
QTR_CD HIER_LVL_CD CURR_RDT_ID DISTRICT_RDT_ID
2007Q4 BU E0F7B00000000 E0F7B00000000
2007Q4 AREA E0F7B00000000 E0F7B00000000
2007Q4 AREA E0F7B00000088 E0F7B00000000
2007Q4 AREA E0F7B40000000 E0F7B00000000
2007Q4 AREA E0F7B40000088 E0F7B40000000
2007Q4 REGION E0F7B40700000 E0F7B40000000
2007Q4 REGION N0F7B40400000 E0F7B40000000
2007Q4 DISTRICT N0F6B40405C99 N0F7B40400000
2007Q4 REGION N0F7B40400088 N0F7B40400000
2007Q4 DISTRICT N0F7B40405M99 N0F7B40400000
2007Q4 TERR N0F1B40405201 N0F7B40405M99
Here is the sql i have written :
select curr_terr_rdt_id,district_rdt_id,hier_lvl_cd,level from STG_ORG_QTR_SF_HCHY
connect by prior
curr_terr_rdt_id=district_rdt_idqtr_cd,hier_lvl_cd,curr_rdt_id, district_rdt_id
2007Q4,BU, E0F7B00000000,E0F7B00000000
2007Q4,AREA, E0F7B00000000,E0F7B00000000
2007Q4,AREA, E0F7B00000088,E0F7B00000000
2007Q4,AREA, E0F7B40000000,E0F7B00000000
2007Q4,AREA, E0F7B40000088,E0F7B40000000
2007Q4,REGION, E0F7B40700000,E0F7B40000000
2007Q4,REGION, N0F7B40400000,E0F7B40000000
2007Q4,DISTRICT, N0F6B40405C99,N0F7B40400000
2007Q4,REGION, N0F7B40400088,N0F7B40400000
2007Q4,DISTRICT, N0F7B40405M99,N0F7B40400000
2007Q4,TERR, N0F1B40405201,N0F7B40405M99Not having a database at hand right now is helpful this time ;)
Indenting the data clearly shows that the hierarchy rules are being violated (cycles you are mentioning do not matter in this case):
Each node must have a unique predecessor except the root having none (in your case data on lines 3 and 4 both point to lines 1 and 2)
2007Q4,BU, E0F7B00000000,E0F7B00000000
2007Q4,AREA, E0F7B00000000,E0F7B00000000
2007Q4,AREA, E0F7B00000088,E0F7B00000000
2007Q4,AREA, E0F7B40000000,E0F7B00000000
2007Q4,AREA, E0F7B40000088,E0F7B40000000
2007Q4,REGION, E0F7B40700000,E0F7B40000000
2007Q4,REGION, N0F7B40400000,E0F7B40000000
2007Q4,DISTRICT, N0F6B40405C99,N0F7B40400000
2007Q4,REGION, N0F7B40400088,N0F7B40400000
2007Q4,DISTRICT, N0F7B40405M99,N0F7B40400000
2007Q4,TERR, N0F1B40405201,N0F7B40405M99Removing the first data line or changing it's curr_rdt_id will make hierarhical queries work (lines 1 and 2 would better not point to themself)
Regards
Etbin
Message was edited by: Etbin
user596003
Maybe you are looking for
-
Hey all, I'm putting this as a question in the discussion forms for bootcamp as I'm not sure where else to put it, but I resolved an issue I was having and having spent all of yesterday and the day before reading through this community and some other
-
How to get the Full and final settelment date from PC_payresults
Hi Experts..sairam. We are preparing Functional specification for a report on Full and final settelement. We need to extract the full and final settelement date from payresults. Full and final settelement would be an offcycle run. How can we ident
-
Crystal 2008 - How to use the total revenue in a formula
Hi, Experts, With Crystal report 2008, I created Income Statement in the following steps: 1. select the Journal Entries within a date range 2. group accounts by their father accounts 3. summarize father accounts under Revenue and Expense ( then I got
-
How to add Web Symphony in HFM
Hello, May I please know how I can add links in my HFM, especially adding web symphony? Thanks.
-
XML download of REUSE ALV Grid's Output
Hi, I have a ALV Report from which I can download the report into a XML file. I need the XML download to happen automatically along with the report display. Please suggest how I can do this. Thanks, Suryakiran D.