Using SwingConstants in NetBeans designer mode
In NetBeans, when adding property get/set methods for a bean they'll be added automatically to the properties panel in the designer.
I've written a setHorizontalAlignment method for a custom JComboBox I use and I want to use SwingConstants as the method parameter.
How do I get the IDE to display my custom method like the standard setHorizontalAlignment method of JLabel / JTextField, that is as choice selection from a list of SwingConstants values.
Problem was fixed by a upgrad of the JDK.
Similar Messages
-
Using a Report Filter without giving users access to "Design" mode
I have a report in which I use the filter bar to provide my end users the ability to use a drop down menu to switch between different months worth of data. However, I have been asked to disable the ability for users to access the Design mode. I have been unable to come up with the right security settings to allow the report filter while disabling the Design mode. Does anyone have any suggestions to this problem?
BO XI 4.0 Patch 9
Thanks very much for your helpHi,
I'm familiar with your issue - described here BO4 navigate the available object in READING MODE in webi
and also here: Hide/Disable DESIGN MODE on WebI (BI4)
I've every reason to believe this is currently not possible. You may want to vote on the existing Enhancement Requests in Ideas Place, or create your own
Regards,
H -
Using DS3 or DW8 to edit php site files in design mode
Thanks in advance.
Kinda new to Dreamweaver and website design. Have a site
being designed in .php. I have downloaded the site folder, access
it in DW, but only Code Mode. Is there any way that I can access
the Design code mode to work with it as a php file.
Do I, can I save it as a web page/html, access it, make
changes, then save it again as php?
Or will I need to deconstruct, cut and paste together back
into the original php file?
This is very important as I will need to constantly update
and add content every day and I want to use the $$ DS3 Adobe suite
to work with the php based oscommerce site being built for me.
Unfortunately, my site developer has no experience with any
Dreamweaver software and is not exactly eager to find answers.
So, with great appreciation, I am hoping that someone can
lead me in the right direction. Too much wasted time and energy
just to find out a yes/no or how and how hard answer to this
question.
Peace,
stress-freelivingGary,
While a novice to using dreamweaver or coding a website in
general, I am not an idiot or a novice to the art and structure of
computer, i.e., software programming. I have a degree in
engineering; in the day, I programmed in fortran and associated
languages.
So, what I have been discussing this entire thread and my
overall concern is that I want to change content pages and use a
software package such that it will not interfere with the php
coding of the pages and associated function of the site. Are all
end users required to know code to add content -- if so, we would
have millions of programmers to handle the millions of websites.
What I want to be is an end user who can efficiently add
content to his site. I don't want to have to learn how to use php
instead of continuing to research and learning on other subjects
that I wish to share; specifically, the workings of the brain, how
to learn, how stress and sleep affect our lifestyles and what we
need to do to overcome our natural tendencies towards our/my type
'A' behavior. I have spent approximately 20 hours trying to dig
through this the last 3 days, including a few hours associated to
forums without any answers, even though there have been some very
helpful people spending their time trying to understand my
predicament.
So, I don't want to have someone design a website, primarily
a site that is information and content based albeit with ecommerce
functions that will require me to dig into or learn what the php
code for bold this statement, or make this a header, or insert
image here, define this text box with these parameters, etc., then
take the time to insert those specific codes in articles that I
have already written in a word document that should be able to cut
and paste and post effectively and efficiently in the average
website or blog. Is that unreasonable?
All I wanted to know is can I or how can I use the built in
coding tools in Dreamweaver in this (my opinion not the css,html
site I paid for) php designed site and upload it without wreaking
havoc on the system -- irrespective and outside of catalog listings
which should not have anything to do with pure content based pages.
Am I wrong to think that in the design of a site, that templates
for content pages and even the index page could be designed in html
and leave the database functions to the php?
The problem is that every page has a php extension. Am I
wrong to think that this ecommerce site could have been designed
with css and html that would have integrated somewhat seemlessly
with the $2000 software package???
Wisdom is trying to find the people that know more than you
do on a subject, hopefully experts, and ask them the questions in
the right mode to get an answer such that you can continue
proceeding on the same path or come up with a better plan. That is
what I have been trying to do.
So, as an expert in dreamweaver and ecommerce sites: can you
use non php based programming? Can someone design a site in
dreamweaver using OsCommerce such that an intermediate end user of
the dw can add content using the systems tools and not screw up the
structure of the site -- and do so without having to dig into the
page code every step of the way?
And, yes, I have googled the subject and looked through
OsCommerce instructions, help pages, etc.., to no avail.
It seems that I will take what has been made, complete the
project, then find some other way to efficiently and effectively
produce an ongoing dynamic content site that will sell some things
on the side.
I am trying very hard to communicate effectively with my
designer and maintain a positive, forward-thinking mode to create a
workaround to his design mode to allow me to effectively,
efficiently and without harm add to the site without having to type
a backslash in front of every daggone apostrophe or actually
<br> every carriage return in the 100+ articles I have
already written.
Can I create an html document in dreamweaver then upload it
to the php site? I was told that I needed to then give it a php
extension for it to work. What is involved in this?
Dreamweaver supposedly handles php files? How? Just like
Notepad or any other text editor -- without any of the Tools or
functionss?
And, how can I make changes to the index.php file? This is
FAR from a process that I envisioned when my site definition for
contract said: "Css based, 3 column design for content and
ecommerce that user will add content on continuous basis using
dreamweaver".
As you can tell. This is not what I got. -
Eclipse +flex 3 plugin crashes when trying to see mxml file in design mode
Hi,
I have strange problem I've been struggling with for 3 days.
I have eclipse-jee-europa-fall2-win32(eclipse europa 3.3.1.1)
+ adobe flex 3 eclipse plugin.
My workspace consists of several projects + one library.
There is not problem when trying to edit any mxml file when
my library is not imported yet. Once I import it to my workspace I
cannot see any mxml file in design mode since it crashes with the
following msg in log:
Did anyone have similar problem and maybe knows the
solutiuon? I've reinstalled/redownoaded eclipse, flex plugin, flash
players and so on. What's more it happens only on my machine - same
project on different one works without crushing.
!ENTRY org.eclipse.osgi 2 0 2008-02-22 09:13:18.046
!MESSAGE While loading class
"org.eclipse.mylyn.tasks.ui.TasksUiPlugin", thread
"Thread[main,6,main]" timed out waiting (5000ms) for thread
"Thread[Worker-0,5,main]" to finish starting bundle
"update@plugins/org.eclipse.mylyn.tasks.ui_2.1.0.v20070927-0900.jar
[313]". To avoid deadlock, thread "Thread[main,6,main]" is
proceeding but "org.eclipse.mylyn.tasks.ui.TasksUiPlugin" may not
be fully initialized.
!STACK 0
org.osgi.framework.BundleException: State change in progress
for bundle
"update@plugins/org.eclipse.mylyn.tasks.ui_2.1.0.v20070927-0900.jar"
by thread "Worker-0".
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.j ava:1141)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:258)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:34 0)
at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackag e.java:37)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java :405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at
org.eclipse.mylyn.context.ui.ContextUiPlugin$5.run(ContextUiPlugin.java:258)
at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at
org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
Caused by:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
... 40 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.j ava:1141)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:258)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:34 0)
at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackag e.java:37)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java :405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at
org.eclipse.mylyn.context.ui.ContextUiPlugin$5.run(ContextUiPlugin.java:258)
at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at
org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
!ENTRY org.eclipse.help 4 0 2008-02-22 09:18:14.375
!MESSAGE Required attribute "label" missing from "topic"
element in "/com.adobe.flexbuilder.help/tocAPI.xml" (skipping
element)
!ENTRY org.eclipse.help 4 0 2008-02-22 09:18:14.375
!MESSAGE Required attribute "label" missing from "topic"
element in "/com.adobe.flexbuilder.help/tocAPI.xml" (skipping
element)
!ENTRY org.eclipse.help 4 0 2008-02-22 09:18:14.375
!MESSAGE Required attribute "label" missing from "topic"
element in "/com.adobe.flexbuilder.help/tocAPI.xml" (skipping
element)
!ENTRY org.eclipse.help 4 0 2008-02-22 09:18:14.375
!MESSAGE Required attribute "label" missing from "topic"
element in "/com.adobe.flexbuilder.help/tocAPI.xml" (skipping
element)I've found solution by myself so I'll present it here. Maybe
someone will need it.
The problem of such behaviour was that Flex plugin always (at
least on my pc) wants to ustart eclipse using its own JRE from here
C:\Program Files\Adobe\Flex Builder 3 Plug-in\jre (default dir).
This environment is Java 5. When you go to
eclipse>window>preferences>Java>Installed JREs and you
delete default Flex JRE, add new to point to for example C:\Program
Files\Java\jre1.6.0_04 eclipse still uses JRE from C:\Program
Files\Adobe\Flex Builder 3 Plug-in\jre. Do not know why
Flex/eclipse does that but if you simply overwrite C:\Program
Files\Adobe\Flex Builder 3 Plug-in\jre files with newer JRE from
C:\Program Files\Java\jre1.6.0_04 all works perfectly.
Hope it helps somebody ;-)
thanks Artur -
Can't select anything in design mode
I am new on a large Flex project, and when I go into design mode on one of the mxml files, I can't select anything. The other views work fine. Is there a lock, or something? Below is what it looks like (black mark just hides brand info). Note that there is a red line near the bottom. It is actually selectable, but it doesn't do anything. If I go to Source mode and select a chunk of code, then back to design mode, it does show it as selected.
This in Flex Builder 3, thanks.Have you tried using the outline view for selection?
Jason San Jose
Software Engineer, Flash Builder -
Dreamweaver 8: Java script in Design Mode
Mac OS 10.4.11 Dreamweaver 8
I have a web page with a java script that displays a random picture from a list of images each time you reload the page.
http://www.irises.org
It renders fine when viewed in a browser, but the image does not display when viewed in Dreamweaver Design mode. The random image does not display and lacking the image other things are out of place.
The script that sets up the image array:
<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.
theImages[0] = 'images/home-rotate-1.jpg'
theImages[1] = 'images/home-rotate-2.jpg'
theImages[2] = 'images/home-rotate-3.jpg'
theImages[3] = 'images/home-rotate-4.jpg'
theImages[4] = 'images/home-rotate-5.jpg'
theImages[5] = 'images/home-rotate-6.jpg'
theImages[6] = 'images/home-rotate-7.jpg'
theImages[7] = 'images/home-rotate-8.jpg'
theImages[8] = 'images/home-rotate-9.jpg'
theImages[9] = 'images/home-rotate-10.jpg'
theImages[10] = 'images/home-rotate-11.jpg'
theImages[11] = 'images/home-rotate-12.jpg'
theImages[12] = 'images/home-rotate-13.jpg'
theImages[13] = 'images/home-rotate-14.jpg'
theImages[14] = 'images/home-rotate-15.jpg'
theImages[15] = 'images/home-rotate-16.jpg'
theImages[16] = 'images/home-rotate-17.jpg'
// do not edit anything below this line
var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImages[i]
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
// End -->
The code (further down the page after the all the list elements) that generates the image:
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
showImage();
// End -->
</script>
Is there a way to get it to display correctly in the Design mode?
Thanks
<br />
</script>Is there a way to get it to display correctly in the Design mode?
I don't think so, at least not with this script. What you need is for an image to be displayed on the page by default, and for the javascript to only change the src attribute's value. Something like this -
At the point where you want the image have -
<img src="the_path_to_some_default_image.jpg" id="rotation" />
and in the javascript, change this -
document.write('<img src="'+theImages[whichImage]+'">');
to this -
document.getElementById('rotation').src='theImages[whichImage]';
See if that works.... -
Flash IDE Components in Flex 3 Design Mode. Can they be visible there?
Hi,
Im exploring Flex to get a grasp on its concepts and am currently looking into building components in the Flash IDE. Though i guess its likely that when you're more familiar with Flex you build your components in Flex, like said Im exploring its concepts and like to know where and how the Flash IDE fits in its workflow.
I made a simple Flex Component in the Flex IDE, which shows up fine when I run the Flex project. But it does not show in Flex Design Mode.
I have exported the component from Flash as an SWC and added the SWC to the Flex library path. The symbol in the Flash IDE extends UIMovieClip. Now I read in 'Using Adobe FlexBuilder 3' (p.67) that the Flex Components panel only lists visible components, according to the documentation 'components that extend UIComponent'.
Note that my question is about being visible on the stage in Design Mode, not in the component panel. As UIMovieClip doesnt inherit from UIComponent (and the UIComponent class doesnt seem to be available in the Flash IDE), is this also the cause that the Flash IDE component is not visible on the Flex stage in Design Mode?
Can someone confirm, or deny this?
Regards,
MarcelHi Latha,
thanks for your feedback. Reading it back though, Im still not sure whether Flex components build in the Flash IDE (using the Flex Component Kit for Flash CS3) can be visible in Flex 3 Design Mode.Maybe you can be a bit more specific and save a lot of Flex beginners a lot of headaches.
I understand that MXML components can be used in Design Mode. I also understand that if your component is AS you have to create a Library and link that to your project to make them visible in Design Mode. I also understand that Flash Builder 4 does "support rendering of UIMovieClip objects which are in library (swc) and added to the project build path"
This actually doesnt answer my question really. Does this mean there is no way to render Flex components build in the Flash IDE (using the Flex Component Kit for Flash CS3) in Flex 3 Design Mode?
Regards,
Marcel -
No Design Mode in Flash Builder 4.7
It took me many hours to figure this out so I thought I would share what I discovered to make it easier on others.
1. Flash Builder 4.7 no longer has Design Mode (being able to design forms graphically). 4.6 was the last version to support it.
2. Adobe will not sell you 4.6 (or 4.5). They only sell 4.7. They suggest you find a retailer who has an old box.
3. Don't bother complaining, the word is "real programmers don't use design mode".
4. I called support yesterday to get some questions answered. I was told the wait time is over 2 hours and I can't leave a callback number. (At least at that time, they only let you leave a callback number for product returns - which I also did.)
I spent over 8 hours on this yesterday at a cost, in terms of lost revenue, of 4 figures. I hope this saves you some time.
BlakeHi Blake,
In another page (http://forums.adobe.com/thread/1056583), Adobe states that it will be possible to download 4.6 in alternative to 4.7, to still have the Design View. However, I have not seen such possibility yet.
I will not say that "real programmers don't use design mode". They do, if it works fine.
However, the Design View was not very useful for mobile projects, if you wanted to create an interface which, at run time, adapts to different screen estates.
It was very good to draw an initial mock-up, but only the simulator (and the device) can say how the app really looks like (if you want to know more, please have a look here: http://aliencoding.com/2013/02/22/adobe-flash-builder-4-7-has-no-design-view-is-it-blasphe my-no-but-the-software-contains-some-other-blasphemous-aspects/).
If you develop for desktop, then I agree the Design View lack is a real drag. I think Adobe should at least lower the price of the program, now that it's been scaled down for (I think) copyright issues (the Design mode relies on Flash professional components that was not donated to Apache).
I love this platform because it really saved my butt in cases of real fast devployment, BUT NOW it lacks support for Windows 8 that PhoneGap has...
Can we say... it is a legacy framework by now? -
mx:Image no image preview in Design Mode
Inside my Flash Builder (4.01) AIR project, the image preview in design mode for the mx:Image component does not show the image set with the source attribute.
This seems to be a project specific problem. When I create a new project , insert mx:image and set the source to an image, the image is previewed just fine. I also get a possible related error saying : "Design mode could not load swiz-framework-1.0.0-RC1.swc. It may be incompatible with this SDK, or invalid. (DesignAssetLoader.CompleteTimeout)"
This error pops up in several google searches and is by some regarded as an sdk bug, so I dont know the relevance here.
This happens in various flavours of the Flex SDK (4.0/4.1 latest versions).
Thanks in advanceOk, I found out it has definitively something to do with the "Design mode could not load swiz-framework-1.0.0-RC1.swc. It may be incompatible with this SDK, or invalid. (DesignAssetLoader.CompleteTimeout)" warning. This somehow affects the loading of the mx:Image.
Recompiling the SWC might work with the swiz swc, but there are more swc's giving this error like the google maps swc which does not have the source avalable freely.
This is a real pain as I like to use a mockup image in Design Mode to place components exactly as provided by the design team. -
Flash Builder Design Mode Bug Workaround (!!!)
I've been fighting this annoyance since FB4 came out, and while I still don't think that custom/embedded fonts in design view are fixed by this, I've been able to reproduce this "fix" (workaround) to get design view to show fonts/theme correctly under some very specific circumstances on two separate PCs.
If anyone from Adobe sees this I'd like to know whether this sounds familiar or is possibly logged as a bug already somewhere in JIRA.. if not I could probably do that as long as it won't be a wasted effort.
The problem:
You're using a Halo theme but certain CSS settings (specifically and possibly limited to FONTS) don't work properly in design view even though they work fine in Flash. Essentially this makes design view practically useless since choice of font family, size, and weight can effect component sizing if you aren't hard-coding component sizes (ugh)... ruining your efforts to use design view for UI design if your UI has any level of complexity (or uses absolute positioning at all).
The specific circumstances seem to be:
You're using the Halo theme (you have no special 'skinning' requirements and want Halo defaults w/only CSS customizations)
You've upgraded a Flex 3 project to Flex 4 SDK (not sure if this is needed to reproduce the issue)
Using a regular non-embedded font (embedded fonts still do crap out, but even this 'workaround' doesn't fix that problem)
You're using swc library files such as the Swiz lib, Mate, Flexlib, etc. (I think it's ANY swc, not specific to any one)
This may also only apply when using an "mx only" project (no Spark), since we're using Halo here
The two part fix (as far as I can tell you need BOTH before design view works correctly):
In .actionScriptProperties, add the following bolded line after the compiler tag like so:
</compiler>
<theme themeIsDefault="false" themeIsSDK="true" themeLocation="${SDK_THEMES_DIR}/frameworks/themes/Halo"/>
<applications>
(I think this may only apply to 'upgraded' projects, as the line does seem to be present in newly created FB4 Halo projects. My guess is that an "upgraded" project should have such a line added, but doesn't get it due to an oversight/bug.)
The somewhat painful, and definitely odd part. Remove all your SWC library files from /libs. Grab the source code for the libraries and drop them into your project's /src folder as if you'd written them yourself. (This may require some research and knowledge on special requirements to build the libs, such as with Swiz's compiler metadata compiler settings which you need to put into your project's settings.) After you get things set up right and the project compiles again, doing a refresh of design view should finally give you proper looking Halo controls and fonts so they look identical to the Flash runtime view.
Why this works, I've no idea. I suspect it has something to do with that stupid and annoying (and supposedly 'harmless') design mode warning message you get when you include a library like Swiz or Mate in your project. (Design mode could not load xxxxxxxxxxxxx.swc. It may be incompatible with this SDK, or invalid. (DesignAssetLoader.CompleteTimeout)) - this warning doesn't break your application, people seem to think it's just a harmless warning..but is it breaking design view?
If anyone has any idea what's going on here, why this 'fixes' the problem (a better work around), or has any other insight I'd love to hear it. The combo of needing to do two things (in my specific case) to fix the problem really made this a ROYAL PAIN, I still can't believe I found it.Hi Fernando, sorry for the delayed response. CSS Design Mode is not available for Flex 4 projects, but it is still available in Flex 3 projects. The reason for this is that designing components in Flex 4 is often a lot different, since it relies highly on the new spark skinning architecture. There is, however, an Appearance panel available in design view which supplies a set of the main inheriting styles. Setting these styles in the Appearance panel will result in assigning values to a global style selector.
I hope this helps,
Rob -
I am using RH9 and generating WebHelp, and I needed to globally bump up the font size of just my hyperlinked text. I went into my Style Sheet > Character tab, changed the font size of the various character settings for hyperlinks, and clicked Apply and then OK. Normally, this would change all of my hyperlink text font sizes immediately across all of my topics. However, this time, it made no changes to any existing hyperlinked text, and it only affected new hyperlinks that I subsequently added. For the existing hyperlinks, I can only manually change the font size of the each hyperlink one at a time, but that's crazy (there's 100's in this help).
I can successfully change other characters styles and paragraph styles. This issue only affects the hyperlink character styles. It also shows up in all RH modes - Design mode, viewing, and in the final output.
Is this an indication of a corrupted style sheet or some other combination of events that I have yet to discover?Hi,
You probably have inline styling in your project overwriting the font size of your style sheet. How are you changing the font size of the individual hyperlinks?
There is a workaround for inline styling: Open your CSS in notepad and add !important after the font-size:
font-size: 4pt !important;
Note that this is a workaround, not a solution. As a solutions you can remove all the style attributes from your hyperlinks to force them to take the CSS styling again.
Greet,
Willam -
Unable to open jsp file in Design mode
Hi,
I am unable to open jsp files in design mode, I am using eclipse Version: 3.6.1.
Please help.
Regards,
Ale HasanHi Ale,
Thank you for the additional information. Unfortunately, there does not seem to be anything unusual about your project based on your description. I'm surprised you don't see any processes listed in the process view while waiting for the page to open. I thought you might see something related to a queue manager job to "Manage Resource Event Jobs".
Are there any messages in the error.log? You can open a view to the error log from the menu option, "Window -> Show View -> Error Log". I'm curious if there are any messages about a process timing out, unable to reset some object within a certain time, or any exceptions logged.
If you change to another workspace with just a single JSF web project containing a smaller number of JSP, do you experience the same behavior?
Can you also try using a more recent release of OEPE to see if that helps? The 11.1.1.6.1 release is about a year old.
http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html
Kind regards,
Carlin -
Pie Charts causing Design mode to give warning and not preview the app
I am using the final release. I have pie charts in my app. I
also have column charts. Both are fed data the same way. Both work
as expected when i build the app, and there are zero errors in the
app. however, i was experiencing an issue in flexbuilder where in
design mode, a vague warning was issued and the preview could not
be displayed (blank except for very gernal 'outlines' of the layout
and controls)
I narrowed the problem down to the pie charts. Is anybody
experiencing this problem? The application worked as expected, and
previewed as expected in Design mode when previewd/built in Beta
3.Hi masavran,
For this issue, it's related to the render environment (browser/application). On Reporting Services side, we don't have any properties to change the resolution for chart to make it smoothly. We suggest you post this thread on Visual Studio forum
http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=visualstudiogeneral&filter=alltypes&sort=lastpostdesc
Or the forum of corresponding browser.
Best Regards,
Simon Hou -
How to edit text in design mode - i.e get an I cursor instead of arrow
DW CS6 This is a very basic unclear on concept question. I normally work in code view and have no problems. Sometimes there is a large block of text within a paragraph which is in a div.
I would like to correct a simple typo or insert some more text directly from the design mode display. However, almost all the time, when I click on the spot I want to modify, the cursor remains an arrow and the entire div gets a yellow border. I still have the select arrow, not the vertical bar I need to edit.
Sometimes I seem to stumble onto the right set of clicks and get the edit bar.
Thanks for any suggestions.Design View can get pretty cranky when your code has errors.
Check the validator at http://validator.w3.org and make sure you're working with clean code before resorting to wiping preferences, config folders or reinstalling.
If your code is clean and it's still not allowing you to click your text in Design View, you may have a z-indexing issue. I notice on pages that use a lot of positioning (APDivs) you can accidentally cover up your text boxes with blank/transparent areas of other elements and cause problems when trying to access that text at a later date.
It's all guesswork though without seeing your actual page.
Could you post a link? -
Background color does not show in a design mode preview
Hi,
I installed Macromedia studio 8 a couple of days ago, and
started using Dreamweaver 8 with a "Missing Manual" book. I'm on
first chapter and following tutorial. It says to change a
background color to blue, and I did that. But this change was not
reflected in a design mode preview. I checked the code and it's
there. I viewed in an IE6, and it was there. My coworker installed
an evaluation version on his pc and it worked fine. I guess it's my
pc that has problem. I had IE7 and VS2005 on the pc when I
installed Macromedia 8. Due to help crash, I uninstalled IE7. It
did not solve the problem, so I uninstalled VS2005 and related
programs, and it did not solve the problem. I uninstalled and
reinstalled Dreamweaver 8 a couple of times, and it did not help.
Does anyone out there who have similar experiences, please share it
with me? I post this here before redo my pc. Thanks.<shrug>
Without seeing code, it would be impossible to guess....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"jaivora" <[email protected]> wrote in
message
news:[email protected]...
> This is way too much - I too am reading the same book
and am stuck at the
> same
> place - Not only does the background not appear in
dreamweaver, but nor do
> the
> new colors set for the active links, rollover links, etc
- After setting
> in the
> new colors, the "Page Property" section will not reflect
the new colors -
> While
> all the time Safari will show the page correctly.
>
>
>
quote:
Originally posted by:
Newsgroup User
> Do you also have the same exact code? That's where the
answer always
> lies....
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.dreamweavermx-templates.com
- Template Triage!
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> ==================
>
>
> "LaValliere" <[email protected]> wrote
in message
> news:[email protected]...
> >I am having the same exact problem as the other
person, except I can not
> >find
> > the manual uninstall that seemed to fix their
problem. The funny thing
> > is
> > I am
> > reading the exact same book as they were and the
problem happen at the
> > same
> > point in the very first chapter. The background was
working fine
> > before.
> > Thinking back I realised the book said to go to the
website for any
> > updates,
> > which I did. After that . . . . no background color
is visible. I have
> > also
> > attempted to uninstall and reinstall. No luck. Can
you help?
> >
>
>
>
>
>
>
Maybe you are looking for
-
I phone 4s is not charging, its showing that the power is connected, but still not charging
-
Postings to the wrong GL account.
We are getting a problem with incorrect postings after the billing process in SD as they are being posted to the wrong GL account. I have checked that the configuration is correct for account assignment group and that it is assigned in the material m
-
Uploading miniDV from a different camera has become dark
Hi. I was given a tape of some work filmed on a prosumer JVC, don't know the precise make or model. Popped it into my Sony camcorder but when I look at it in capture and in my cc viewfinder, it's dark. What's happened here and is it rescue-able or do
-
Compress Audio from Microphone
Hi, I am developing an app that records voice from mic and needs to save it in the disk then send it via email. I got it no problem. I get the bytes and tranform it to wav format using the WAVWriter class. But the wav file is HUGE. As I said, I need
-
Digit Check calculation - for XD01/XD02 - Urgent requirment
Hi Experts, below is my requirment. IF have like 5 digit number 12356 (Customer number) (here 6 is units, 5 is ten, 3 is hundred, 2 is thousand and 1 is ten thousands). My caliculation is i have multiply this number in 2 or 1 like 2 is unit, 1 is te